pip安裝報錯:ERROR: Could not find a version that satisfies the requirement pyjwt (from versions: none)


【報錯信息】

ERROR: Could not find a version that satisfies the requirement pyjwt (from versions: none)

ERROR: No matching distribution found for pyjwt

 

【解決方法】

1、按照提示所示是其中一個原因是pip版本過低,需要更新pip:

  • python -m pip install --upgrade pip
  • 仍然報錯

2、考慮是python國內網絡的問題,用國內的鏡像源來加速。

  • pip install 包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
  • 這個是豆瓣源;--trusted-host pypi.douban.com 這是為了獲得ssl證書的認證,要不然會報錯

 

🌰

pip install pyjwt -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM