本文主要是介绍pip安装报错解决之后,手动安装太麻烦,怎么办,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
在使用pip install package_name安装公共库的时候,经常会报错:
Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。C:\Users\Administrator>pip install hatch
WARNING: Ignoring invalid distribution -ip (d:\soft\python\python38\lib\site-pac
kages)
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting hatchERROR: HTTP error 403 while getting https://pypi.tuna.tsinghua.edu.cn/packages
/29/ef/12b8e18d4d0f3a30601b94ed562c4fbb5379e8ddc266a12b7d566b362f0a/hatch-1.11.1
-py3-none-any.whl (from https://pypi.tuna.tsinghua.edu.cn/simple/hatch/) (requir
es-python:>=3.8)
ERROR: Could not install requirement hatch from https://pypi.tuna.tsinghua.edu.c
n/packages/29/ef/12b8e18d4d0f3a30601b94ed562c4fbb5379e8ddc266a12b7d566b362f0a/ha
tch-1.11.1-py3-none-any.whl because of HTTP error 403 Client Error: Forbidden fo
r url: https://pypi.tuna.tsinghua.edu.cn/packages/29/ef/12b8e18d4d0f3a30601b94ed
562c4fbb5379e8ddc266a12
这篇关于pip安装报错解决之后,手动安装太麻烦,怎么办的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!