找不到满足python 3.6.7的需求tensorflow的版本

时间:2018-11-27 12:06:13

标签: python tensorflow

C:\WINDOWS\system32>python --version
Python 3.6.7

C:\WINDOWS\system32>pip3 list
Package    Version
---------- -------
pip        10.0.1
setuptools 39.0.1

C:\WINDOWS\system32>PATH
PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\HighTec\toolchains\tricore\v4.9.1.0-infineon-1.1\bin;C:\HighTec\licensemanager;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\WebEx\Productivity Tools;C:\Program Files\Micro Focus\StarTeam SDK 16.0\lib;C:\Program Files\Micro Focus\StarTeam SDK 16.0\bin;C:\Program Files\Git\cmd;c:\users\snaglapu\appdata\local\programs\python\python36\;C:\Users\snaglapu\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\snaglapu\AppData\Local\Programs\Python\Python36\;C:\Users\snaglapu\AppData\Local\Microsoft\WindowsApps;C:\Users\snaglapu\AppData\Local\Android\Sdk\platform-tools

C:\WINDOWS\system32>py -m pip install --upgrade pip
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001A3A6CDFC50>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pip/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001A3A6CDFDD8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pip/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001A3A6CDFD68>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pip/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001A3A6CDF160>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pip/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001A3A6CDFEB8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/pip/
Requirement already up-to-date: pip in c:\users\snaglapu\appdata\local\programs\python\python36\lib\site-packages (10.0.1)

C:\WINDOWS\system32>pip3 install --upgrade tensorflow
Collecting tensorflow
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001F1F7B99470>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/tensorflow/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001F1F7BCD4E0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/tensorflow/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001F1F7BCD588>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/tensorflow/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001F1F7BCD7B8>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/tensorflow/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000001F1F7BCD2B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/tensorflow/

Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow

C:\WINDOWS\system32>

我正在尝试在python 3.6.7上安装tensorflow。我收到上述错误消息。可能是什么问题呢?我卸载了python 3.6.5并重新安装了3.6.7。此外,尝试升级pip。它们对我都不起作用。我尝试了以下链接中提到的所有可能的解决方案。 Could not find a version that satisfies the requirement tensorflow

 C:\WINDOWS\system32>python -m pip install --upgrade pip --proxy http://snaglapu:******** @<Proxy_name>:<port>--user
Collecting pip
 Downloading https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 819kB/s
Installing collected packages: pip
Successfully installed pip-18.1

C:\WINDOWS\system32>pip list
Traceback (most recent call last):
File "c:\users\snaglapu\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\users\snaglapu\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\snaglapu\AppData\Local\Programs\Python\Python36\Scripts\pip.exe\__main__.py", line 5, in <module>

ImportError:无法导入名称“ main”

在运行代理错误背后的代码后,尝试读取pip3版本或读取pip3列表时会弹出

0 个答案:

没有答案