2017-02-11 166 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