前提・実現したいこと
Anacondaでtensorflowをインストールしようとしたのですがエラーが出てしまいました。Anaconda Navigatorからも試してみたのですがインストールが始まりません。
見た感じネットワークに接続ができないみたいなのですが、大学や自宅で作業しているためプロキシがかかっているわけでもなさそうです。pipでのインストールも試してみたのですが同様に下記のエラーが出てしまいます。
とりあえず自分が調べられた範囲のことは一通り実行したのですが解決しそうにありません。色々と知識不足のためこれ以上は手詰まりです。どなたかお詳しい方、ご助力お願い致します。。。
発生している問題・エラーメッセージ
conda install tensorflow
Solving environment: failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ C:\Users\share\Anaconda3\Scripts\conda install tensorflow
environment variables:
CIO_TEST=<not set>
CONDA_ROOT=C:\Users\share\Anaconda3
DOCKER_CERT_PATH=C:\Users\share.docker\machine\machines\default
DOCKER_TOOLBOX_INSTALL_PATH=C:\Program Files\Docker Toolbox
HOMEPATH=\Users\share
HTTPS_PROXY=<set>
NO_PROXY=<set>
PATH=C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\iCLS;C:\Program Files\Intel\Intel(R) Management Engine Com
ponents\iCLS;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSS
H;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine
Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine
Components\IPT;C:\Program Files\CMake\bin;C:\Program Files (x86)\CMake
\bin;C:\Users\share;C:\Users\share\Anaconda3\Scripts;C:\Users\share\De
sktop\python;C:\Users\share\Desktop\pythoncode;C:\Users\share\Anaconda
3\Lib\site-packages;C:\Users\share\Anaconda3\Lib\site-
packages\opencv_python-2.4.13.7-cp27-cp27m-win_amd64;C:\Program Files
Git\cmd;C:\Users\share\Anaconda3\Library\bin;C:\Users\share\Anaconda3;
C:\Users\share\AppData\Local\Microsoft\WindowsApps;C:\Users\share\AppD
ata\Local\Programs\Microsoft VS Code\bin;C:\Program
Files\CMake\bin;C:\Program Files\Docker
Toolbox;C:\Users\share\Anaconda3;C:\Users\share\Anaconda3\Library\bin;
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\Windows
PowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
active environment : None user config file : C:\home.condarc
populated config files : C:\home.condarc
conda version : 4.5.4
conda-build version : 3.10.5
python version : 3.6.5.final.0
base environment : C:\Users\share\Anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/win-64
https://repo.anaconda.com/pkgs/pro/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\share\Anaconda3\pkgs
C:\Users\share\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\share\Anaconda3\envs
C:\Users\share\AppData\Local\conda\conda\envs
C:\home.conda\envs
platform : win-64
user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Windows/10 Windows/10.0.17134
administrator : False
netrc file : None
offline mode : False
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/msys2/noarch/repodata.json.bz2
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/msys2/noarch/repodata.json.bz2 (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x000001DB514152E8>, 'Connection to 10.224.254.54 timed out. (connect timeout=9.15)'))",),)
A reportable application error has occurred. Conda has prepared the above report.
If submitted, this report will be used by core maintainers to improve
future releases of conda.
Would you like conda to send this report to the core maintainers?
pip install tensorflow
Collecting tensorflow
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002C5B2BA2828>, 'Connection to 10.224.254.54 timed out. (connect timeout=15)')': /simple/tensorflow/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002C5B2BA2A58>, 'Connection to 10.224.254.54 timed out. (connect timeout=15)')': /simple/tensorflow/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002C5B2BA2278>, 'Connection to 10.224.254.54 timed out. (connect timeout=15)')': /simple/tensorflow/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002C5B2BA2E10>, 'Connection to 10.224.254.54 timed out. (connect timeout=15)')': /simple/tensorflow/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002C5B2BA2F60>, 'Connection to 10.224.254.54 timed out. (connect timeout=15)')': /simple/tensorflow/
Could not find a version that satisfies the requirement tensorflow (from versions: )
No matching distribution found for tensorflow
試したこと
管理者としてAnaconda Promptで実行
後ろに--userをつけて実行
conda install tensorflow --user
パスを通す
C:\Users\share\Anaconda3
C:\Users\share\Anacondas3\Scripts
C:\Users\share\Anaconda3\Library\bin
回答1件