简体   繁体   English

在命令提示符中安装 Tensorflow 时如何解决超时错误

[英]How can I resolve Time Out Error when installing Tensorflow in Command Prompt

I currently have installed Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32.我目前已经在 win32 上安装了 Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)]。 I also have Anaconda installed with its own python version.我还安装了 Anaconda 及其自己的 python 版本。

I am trying to install tensorflow with below code (also tried pip install tensorflow).我正在尝试使用以下代码安装 tensorflow(也尝试了 pip 安装 tensorflow)。 I have successfully installed nltk, numpy and tflearn.我已经成功安装了 nltk、numpy 和 tflearn。 I am now trying to install tensorflow and the following message is what I get.我现在正在尝试安装 tensorflow,我得到以下消息。 I have trying several times over the past hour but I keep getting the same error at different points (percentage completed).在过去的一个小时里,我尝试了好几次,但我在不同的点(完成百分比)不断收到相同的错误。

C:\Windows\system32>pip3 install --upgrade tensorflow C:\Windows\system32>pip3 install --upgrade tensorflow

Collecting tensorflow采集 tensorflow

Downloading tensorflow-2.1.0-cp36-cp36m-win_amd64.whl (355.9 MB) |██████████████████████████████ |下载 tensorflow-2.1.0-cp36-cp36m-win_amd64.whl (355.9 MB) |██████████████████████████████ | 336.2 MB 251 kB/s eta 0:01:19 336.2 MB 251 kB/s 等 0:01:19

ERROR: Exception:错误:异常:

Traceback (most recent call last):回溯(最近一次通话最后):

File.....文件.....

.... ……

socket.timeout: The read operation timed out socket.timeout:读操作超时

During handling of the above exception, another exception occurred:在处理上述异常的过程中,又出现了一个异常:

.... ……

raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): 读取超时。

I discovered that issue was indeed the speed of my internet.我发现这个问题确实是我的互联网速度。 I downloaded it when the internet was much faster and it downloaded completely.当互联网速度更快并且完全下载时,我下载了它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 安装模块时命令提示符中的错误消息 - Error message in Command Prompt when installing module 如何解决“找不到命令错误”。 当在 cmd 提示符中给出 spyder3 命令时 - How to resolve “command not found error”. when spyder3 command is given in cmd prompt 安装 web3 时如何解决此错误 - how can i resolve this error while installing web3 在 Conda venv 中安装软件包时如何解决此错误? - How do I resolve this error when installing packages in a Conda venv? 如何使用和安装错误来解决这个 TensorFlow? - How can I solve this Tensorflow using and installing Error? 在 python 的命令提示符中安装 sklearn 时出现问题,出现错误:命令错误,退出状态为 1: - Trouble installing sklearn in command prompt in python, getting ERROR: Command errored out with exit status 1: 安装gensim时如何解决错误? - How to resolve error when installing gensim? 在我想要的文件夹中安装 django 后,我使用 virtualenv venv 命令遇到错误如何解决 - i used the virtualenv venv command after installing django in my desired folder faced an error how to resolve this 当我打开 anaconda 提示时,它显示了下面提到的错误。如何解决此问题? - when I open anaconda prompt it's showing an error of mentioned below.how to resolve this issue? 如何在命令提示符下使用“ SetText”? - How can I use 'SetText' in command prompt?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM