每次我尝试导入此回购
https://github.com/ArduPilot/pymavlink/blob/7b0d51cca7e75b3cf84f5dbb74e76f727816e50d/mavutil.py
使用以下
pip install https://github.com/ArduPilot/pymavlink.git
然而,我得到了这个错误。你知道吗
Collecting https://github.com/ArduPilot/pymavlink.git
Downloading https://github.com/ArduPilot/pymavlink.git
Cannot unpack file c:\users\mike\appdata\local\temp\pip-l_8clc-unpack\pymavlink.git (downloaded from c:\users\mike\appdata\local\temp\pip-nww8fs-build, content-type: text/html; charset=utf-8); cannot detect archive format
Cannot determine archive format of c:\users\mike\appdata\local\temp\pip-nww8fs-build
试试
pip install git+https://github.com/ArduPilot/pymavlink.git
。这告诉pip它是git存档。否则,您总是可以直接使用github归档:
pip install https://github.com/ArduPilot/pymavlink/archive/master.zip
相关问题 更多 >
编程相关推荐