Command-not-found and qt_x.x not found after sourcing workspace
Hey community! I'm working with ros / gazebo and want to launch a custom world file with the roslaunch command. It worked fine until i have started my computer this morning... Today i searched for a solution, but i havent found yet. After sourcing the current workspace with source devel/setup.bash, the following error occured while using roslaunch command:
Traceback (most recent call last): File "/usr/lib/command-not-found", line 23, in <module>
import gettext File "/usr/lib/python3.6/gettext.py", line 49, in <module>
import locale, copy, io, os, re, struct, sys File "/usr/lib/python3.6/locale.py", line 16, in <module>
import re File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
if not enabled(): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'
Original exception was: Traceback (most recent call last): File "/usr/lib/command-not-found", line 23, in <module>
import gettext File "/usr/lib/python3.6/gettext.py", line 49, in <module>
import locale, copy, io, os, re, struct, sys File "/usr/lib/python3.6/locale.py", line 16, in <module>
import re File "/usr/lib/python3.6/re.py", line 142, in <module>
class RegexFlag(enum.IntFlag): AttributeError: module 'enum' has no attribute 'IntFlag'
And after sourcing the current workspace and starting my IDE QTCreator with qtcreator-ros the following error appeared:
qtcreator-ros
qtcreator-ros: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by qtcreator-ros)
qtcreator-ros: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /home/user/QtCreator /latest/bin/../lib/qtcreator/libExtensionSystem.so.4)
qtcreator-ros: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.12' not found (required by /home/user/QtCreator/latest/bin/../lib/qtcreator/libUtils.so.4)
Without sourcing it is possible to start qtcreator and build the project i was made. But I want to use roslaunch out of the console..
I think there is a context between these two error cases! They occured after reboot, i said earlier. Hope anyone could help me!