前提・実現したいこと
miniconda環境でpipを使用したinstallしたい。
(base)にpipenvを入れたい。
発生している問題・エラーメッセージ
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))': /simple/pipenv/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))': /simple/pipenv/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))': /simple/pipenv/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))': /simple/pipenv/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))': /simple/pipenv/ Could not fetch URL https://pypi.org/simple/pipenv/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pipenv/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))) - skipping ERROR: Could not find a version that satisfies the requirement pipenv ERROR: No matching distribution found for pipenv Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))) - skipping
該当のソースコード
pip install pipenv
試したこと
下記を参考に、ユーザフォルダの下に、.condarcファイルを作り、プロキシ設定を行いました
https://lifetime-engineer.com/anaconda-miniconda-proxy/
下記を参考に、Appdata/Roamingの下に、pip.iniを作り、pipのhostを信頼済み登録にしました。
https://qiita.com/agajo/items/73d6f14855da703972e0
補足情報(FW/ツールのバージョンなど)
OS:Windows10
conda version : 4.9.2
python version : 3.9.1.final.0
pip:20.3.1
回答1件
あなたの回答
tips
プレビュー