Image:
图像:
Code:
代码:
python -m pip install pandas
Collecting pandas
Obtaining dependency information for pandas from https://files.pythonhosted.org/packages/b7/f8/32d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853/pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/b7/f8/32d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853/pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/b7/f8/32d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853/pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/b7/f8/32d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853/pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/b7/f8/32d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853/pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)")': /packages/b7/f8/32d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853/pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/b7/f8/32d6b5aa4c4bc045fa2c4c58f88c325facc54721956c6313f0afea8ea853/pandas-2.1.0-cp311-cp311-win_amd64.whl.metadata (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)"))
更多回答
Don't SHOUT at us - we tend to not read questions where you SHOUT.
不要对我们大喊大叫--我们往往不会在你大喊大叫的地方读到问题。
Please, improve your question, even though you are in a hurry. It will bring you some calm and peace of mind.
请改进你的问题,即使你很匆忙。它会给你带来一些平静和内心的安宁。
Please read Under what circumstances may I add "urgent" to my question? TLDR: never, that's not what we're here for. Please take the tour and read How to Ask to learn how to use this site constructively. Notably, Stack Overflow is a Q&A site, but there's no question here and it's not clear what exactly you need help with. Like to start, do you understand what the error means?
请阅读在什么情况下我可以在我的问题中加上“紧急”?从来没有,那不是我们在这里的目的。请参观并阅读如何询问,以了解如何建设性地使用这个网站。值得注意的是,Stack Overflow是一个问答网站,但这里没有问题,也不清楚你到底需要什么帮助。首先,你知道错误意味着什么吗?
优秀答案推荐
May be a problem with the network connection.
Turn off proxy and try agin.
可能是网络连接有问题。关闭代理并重新尝试。
Or you can use mirror sites, for example:
或者,您可以使用镜像站点,例如:
python -m pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple
python -m pip install pandas -i https://pypi.org/simple
It seems to me that there are several timeout errors, so it may simply be a network problem of yours or of the server from which you want to download the dependencies. Simply try checking your connection and try again in a few hours.
在我看来,有几个超时错误,所以这可能只是您的网络问题,或者是您想要从其下载依赖项的服务器的网络问题。只需尝试检查您的连接,并在几小时后重试。
更多回答
thanks bro ... its solved by first link address (when the proxy was on )
谢谢兄弟…它的解决第一个链接地址(当代理打开)
我是一名优秀的程序员,十分优秀!