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