2017-02-11 165 views
0

我写了这个命令来安装:如何安装pymavlink到树莓?

sudo pip install pymavlink 

和得到这个错误:

ImportError: No module named future 

---------------------------------------- 
Cleaning up... 
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-gsZblL/pymavlink/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ppCGHA-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-gsZblL/pymavlink 
Storing debug log for failure in /root/.pip/pip.log 

回答

0

我已经解决了这个安装包中的问题:

$ sudo pip install dronekit