突然pip安装库时报错:
ERROR: HTTP error 403 while getting https://mirrors.bfsu.edu.cn/pypi/web/packages/95/46/505364588f6145f5edd29c1506b1964dd397a668c49f8bb42deffb6a0168/ipykernel-6.16.2-py3-none-any.whl (from https://mirrors.bfsu.edu.cn/pypi/web/simple/ipykernel/) (requires-python:>=3.7)
解决方法一:
$ pip install xxxx -i https://pypi.python.org/simple/
解决方法二:
$ pip install xxxx -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
参考链接