I am new to ubuntu and I follow the instruction on https://github.com/bitcraze/crazyflie-clients-python to install cfclient
When I try to execute command :
Code: Select all
pip3 install -e .
Obtaining file:///home/yuze/Desktop/crazyflie-clients-python-master
Running setup.py (path:/home/yuze/Desktop/crazyflie-clients-python-master/setup.py) egg_info for package from file:///home/yuze/Desktop/crazyflie-clients-python-master
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/yuze/Desktop/crazyflie-clients-python-master/setup.py", line 33, in <module>
raise "must use python 3.5 or greater"
TypeError: exceptions must derive from BaseException
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/home/yuze/Desktop/crazyflie-clients-python-master/setup.py", line 33, in <module>
raise "must use python 3.5 or greater"
TypeError: exceptions must derive from BaseException
Can anyone help me with this? thanks.
I open setup.py and find this
Code: Select all
if sys.version_info < (3, 5):
raise "must use python 3.5 or greater"