Pyqt5 is installed but not recognize when running cfclient

Post here to get support
Post Reply
sdkfz
Beginner
Posts: 1
Joined: Fri Jul 28, 2017 4:07 pm

Pyqt5 is installed but not recognize when running cfclient

Post by sdkfz » Fri Jul 28, 2017 4:21 pm

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.

arnaud
Bitcraze
Posts: 1291
Joined: Tue Feb 06, 2007 12:36 pm

Re: Pyqt5 is installed but not recognize when running cfclient

Post by arnaud » Mon Jul 31, 2017 11:38 am

Hi,

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 ...

Post Reply