[英]Issue importing a repo from github
每次我嘗試導入這個回購
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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.