cfclient run error
IcyFeather233 opened this issue · 0 comments
IcyFeather233 commented
Environment
system: Linux Mint Xfce Edition Latest
Problem
I am following the doc gettingstarted and I met a problem when it comes to '2.3 Install cfclient' pip3 install -e
.
Wrong Msg
icyfeather@icyfeather-desktop:~/crazyflie-clients-python$ python3 ./bin/cfclient
INFO:cfclient.gui:Disabling STL printouts
INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2']
INFO:cfclient.utils.input.inputreaders:Successfully initialized [linuxjsdev]
INFO:cfclient.utils.input.inputreaders:Could not initialize [pysdl2]: No SDL2 support on Linux
INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['leapmotion', 'wiimote', 'zmqpull']
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk')
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid'
INFO:cfclient.utils.config:Dist config read from /home/icyfeather/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
===== 2021.12.30 21:12:02 =====
Traceback (most recent call last):
File "./bin/cfclient", line 5, in <module>
main()
File "/home/icyfeather/crazyflie-clients-python/src/cfclient/gui.py", line 137, in main
from .ui.main import MainUI
File "/home/icyfeather/crazyflie-clients-python/src/cfclient/ui/main.py", line 33, in <module>
import cfclient.ui.tabs
File "/home/icyfeather/crazyflie-clients-python/src/cfclient/ui/tabs/__init__.py", line 41, in <module>
from .locopositioning_tab import LocoPositioningTab
File "/home/icyfeather/crazyflie-clients-python/src/cfclient/ui/tabs/locopositioning_tab.py", line 41, in <module>
from PyQt5.QtGui import QMessageBox
ImportError: cannot import name 'QMessageBox' from 'PyQt5.QtGui' (/usr/lib/python3/dist-packages/PyQt5/QtGui.cpython-38-x86_64-linux-gnu.so)
I wonder if PyQt5 has been changed and the doc is not up to date?