简体   繁体   English

从github导入repo的问题

[英]Issue importing a repo from github

Everytime I try to import this repo 每次我尝试导入这个回购

https://github.com/ArduPilot/pymavlink/blob/7b0d51cca7e75b3cf84f5dbb74e76f727816e50d/mavutil.py

Using the following 使用以下内容

pip install https://github.com/ArduPilot/pymavlink.git

However, I am getting this error. 但是,我收到了这个错误。

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

Try pip install git+https://github.com/ArduPilot/pymavlink.git . 试试pip install git+https://github.com/ArduPilot/pymavlink.git This tells pip it's a git archive. 这告诉pip它是一个git存档。
Otherwise, you could always just use the github archive directly: pip install https://github.com/ArduPilot/pymavlink/archive/master.zip 否则,您可以直接使用github存档: pip install https://github.com/ArduPilot/pymavlink/archive/master.zip

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM