Running multiranger_pointcloud.py example

Discussions and questions about the Crazyflie Nano Quadcopter
kristoffer
Bitcraze
Posts: 256
Joined: Tue Jun 30, 2015 7:47 am

Re: Running multiranger_pointcloud.py example

Post by kristoffer » Mon May 18, 2020 11:59 am

It is probably related to qt5 or vispy? Vispy is using QT but I'm not sure what the problem is.
Have you tried to upgrade or reinstall vispy and qt5.

You can do it from pip, and since it seems as your ide is using python 3, you should probably use pip3.

on the lines of

Code: Select all

pip3 install vispy
pip3 install PyQt5



boped
Beginner
Posts: 3
Joined: Fri May 15, 2020 3:38 pm

Re: Running multiranger_pointcloud.py example

Post by boped » Tue May 19, 2020 7:24 am

Yes I think Qt5 is the Problem. Thanks for replying.
But if i try to install it, this error appears:
pi@raspberry:~ $ pip3 install PyQt5
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting PyQt5
Using cached https://files.pythonhosted.org/packages ... 4.2.tar.gz
Installing build dependencies ... done
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.7/tokenize.py", line 447, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-install-8hyb0_sw/PyQt5/setup.py'

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-8hyb0_sw/PyQt5/

kristoffer
Bitcraze
Posts: 256
Joined: Tue Jun 30, 2015 7:47 am

Re: Running multiranger_pointcloud.py example

Post by kristoffer » Tue May 19, 2020 7:54 am

I'm afraid I can't offer much help, but maybe this is useful https://stackoverflow.com/questions/597 ... ect=1&lq=1

Post Reply