Hello,
I just buy a MacBook air (os version: 10.12.5) and I got this problem while installing the cfclient. I followed all the instruction on project github page but this happen when I when to run it:
MacBook-Air-de-Guillaume:crazyflie-clients-python guillaumemaitre$ cfclient
CRITICAL:cfclient.gui:No PyQT5 installation found, exiting!
MacBook-Air-de-Guillaume:crazyflie-clients-python guillaumemaitre$ brew install pyqt5
Warning: pyqt 5.9_1 is already installed
look like pyqt5 is installed but when running cfclient like in the tutorial it doesn't find pyqt5.
This is an awesome drone and I would like to use it somewhere else than in my room with my desktop computer since I have de crazy PA
hope someone have a solution to my problem.
sincerely,
MG.
Pyqt5 is installed but not recognize when running cfclient
Re: Pyqt5 is installed but not recognize when running cfclient
Hi,
Are you sure the client is installed with the same python as the pyqt5 package is installed?
To verify, you can type:
Are you sure the client is installed with the same python as the pyqt5 package is installed?
To verify, you can type:
Code: Select all
$ which python3
/usr/loca/bin/python3 # Python3 should be in /usr/local/...
$ python3 -m cfclient.gui
# Should launch the Crazyflie client ...
-
- Beginner
- Posts: 26
- Joined: Mon Apr 11, 2016 4:33 pm
Re: Pyqt5 is installed but not recognize when running cfclient
Just installed following the instructions here: https://github.com/bitcraze/crazyflie-c ... /README.md
I am getting the same error and this when I try the recommendation:
Any other options to check?
Thanks!
I am getting the same error and this when I try the recommendation:
Code: Select all
CRITICAL:cfclient.gui:No PyQT5 installation found, exiting!
Michael-Timkos-MacBook-Pro:~ michaeltimko$ which python3
/opt/local/bin/python3
Michael-Timkos-MacBook-Pro:~ michaeltimko$ python3 -m cfclient.gui
/opt/local/bin/python3: Error while finding spec for 'cfclient.gui' (<class 'ImportError'>: No module named 'cfclient')
Thanks!
Re: Pyqt5 is installed but not recognize when running cfclient
This confirms that the client is not installed in your python3 environment.
How did you install Python3?
- If you installed it from python.org you can install the client with "pip3 install cfclient[qt5]" and install SDL2 manually from https://www.libsdl.org/download-2.0.php
- If you are using the homebrew method you can do "pip3 install cfclient" and install pyqt5 and sdl2 using the brew command
How did you install Python3?
- If you installed it from python.org you can install the client with "pip3 install cfclient[qt5]" and install SDL2 manually from https://www.libsdl.org/download-2.0.php
- If you are using the homebrew method you can do "pip3 install cfclient" and install pyqt5 and sdl2 using the brew command