環境
bash
1$ lab_release --all 2# No LSB modules are available. 3 Distributor ID: Ubuntu 4 Description: Ubuntu 16.04.3 LTS 5 Release: 16.04 6 Codename: xenial 7 8$ openssl 9 OpenSSL 1.1.0f 25 May 2017 10 11$ locate libcrypto.so 12 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 13 /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 14 15$ pip freeze | grep SSL 16 pyOpenSSL==17.2.0 17 18$ systeminfo 19OS 名: Microsoft Windows 10 Pro 20OS バージョン: 10.0.15063 N/A ビルド 15063 21システムの種類: x64-based PC
メモ
- windows でインストールすると正常に動作する
原因は?
-「SSL」の不具合?
エラー内容
conda を使う時
bash
1$ conda update --all 2 Fetching package metadata ... 3 CondaHTTPError: HTTP 000 CONNECTION FAILED for url 4 <https://repo.continuum.io/pkgs/main/linux-64/repodata.json.bz2> 5 Elapsed: - 6 7 An HTTP error occurred when trying to retrieve this URL. 8 HTTP errors are often intermittent, and a simple retry will get 9 you on your way. 10 11 SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.continuum.io\',port=443): 12 Max retries exceeded with url: /pkgs/main/linux-64/repodata.json.bz2(Caused by SSLError 13 ("Can\'t connect to HTTPS URL because the SSL module is notavailable.",))',),)
pyenv から miniconda をインストールする時にエラー
bash
1$ pyenv install miniconda3-latest 2 3Downloading Miniconda3-latest-Linux-x86_64.sh... 4-> https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh 5Installing Miniconda3-latest-Linux-x86_64... 6Fetching package metadata ... 7CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.continuum.io/pkgs/main/linux-64/repodata.json.bz2> 8Elapsed: - 9 10An HTTP error occurred when trying to retrieve this URL. 11HTTP errors are often intermittent, and a simple retry will get you on your way. 12SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.continuum.io\', port=443): 13Max retries exceeded with url: /pkgs/main/linux-64/repodata.json.bz2 14(Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available.",))',),) 15 16 17 18BUILD FAILED (Ubuntu 16.04 using python-build 1.1.5-7-gaf8cca9) 19 20Inspect or clean up the working tree at /tmp/python-build.20171011142305.444 21Results logged to /tmp/python-build.20171011142305.444.log 22 23Last 10 log lines: 24installing: cffi-1.10.0-py36had8d393_1 ... 25installing: setuptools-36.5.0-py36he42e2e1_0 ... 26installing: cryptography-2.0.3-py36ha225213_1 ... 27installing: wheel-0.29.0-py36he7f4e38_1 ... 28installing: pip-9.0.1-py36h30f8307_2 ... 29installing: pyopenssl-17.2.0-py36h5cc804b_0 ... 30installing: urllib3-1.22-py36hbe7ace6_0 ... 31installing: requests-2.18.4-py36he2e5f8d_1 ... 32installing: conda-4.3.27-py36h2866c0b_0 ... 33installation finished.
同様の症例
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。