Cfclient installation issue
Posted: Sun Jul 11, 2021 5:47 am
Hi,
I encountered the following error when I attempted to run cfclient. I followed the instructions in https://www.bitcraze.io/documentation/r ... stallation
Whichever way, by running pip3 install cfclient or install from source, i will encounter the following runtime issue.
o:~$ 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/o/.local/lib/python3.8/site-packages/cfclient/configs/config.json
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
===== 2021.07.11 13:07:34 =====
Traceback (most recent call last):
File "/home/o/.local/bin/cfclient", line 8, in <module>
sys.exit(main())
File "/home/o/.local/lib/python3.8/site-packages/cfclient/gui.py", line 164, in main
from .ui.main import MainUI
File "/home/o/.local/lib/python3.8/site-packages/cfclient/ui/main.py", line 34, in <module>
import cfclient.ui.tabs
File "/home/o/.local/lib/python3.8/site-packages/cfclient/ui/tabs/__init__.py", line 41, in <module>
from .locopositioning_tab import LocoPositioningTab
File "/home/o/.local/lib/python3.8/site-packages/cfclient/ui/tabs/locopositioning_tab.py", line 40, in <module>
from PyQt5.QtGui import QMessageBox
ImportError: cannot import name 'QMessageBox' from 'PyQt5.QtGui' (/home/o/.local/lib/python3.8/site-packages/PyQt5/QtGui.abi3.so)
o:~$
I encountered the following error when I attempted to run cfclient. I followed the instructions in https://www.bitcraze.io/documentation/r ... stallation
Whichever way, by running pip3 install cfclient or install from source, i will encounter the following runtime issue.
o:~$ 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/o/.local/lib/python3.8/site-packages/cfclient/configs/config.json
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
===== 2021.07.11 13:07:34 =====
Traceback (most recent call last):
File "/home/o/.local/bin/cfclient", line 8, in <module>
sys.exit(main())
File "/home/o/.local/lib/python3.8/site-packages/cfclient/gui.py", line 164, in main
from .ui.main import MainUI
File "/home/o/.local/lib/python3.8/site-packages/cfclient/ui/main.py", line 34, in <module>
import cfclient.ui.tabs
File "/home/o/.local/lib/python3.8/site-packages/cfclient/ui/tabs/__init__.py", line 41, in <module>
from .locopositioning_tab import LocoPositioningTab
File "/home/o/.local/lib/python3.8/site-packages/cfclient/ui/tabs/locopositioning_tab.py", line 40, in <module>
from PyQt5.QtGui import QMessageBox
ImportError: cannot import name 'QMessageBox' from 'PyQt5.QtGui' (/home/o/.local/lib/python3.8/site-packages/PyQt5/QtGui.abi3.so)
o:~$