お世話になってます。よろしくお願いいたします。
できないこと
mod_wsgiのインストール
環境
Windows10 64bit
python 3.8 64bit
pip 19.1.1
XAMPP 7.4.8
実行したコマンド
set “MOD_WSGI_APACHE_ROOTDIR=C:\xampp\apache"
pip install mod_wsgi
エラーメッセージ
error
1C:\Users\tront_000>pip install mod_wsgi 2WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 3Collecting mod_wsgi 4 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/mod-wsgi/ 5 WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/mod-wsgi/ 6 WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/mod-wsgi/ 7 WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/mod-wsgi/ 8 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/mod-wsgi/ 9 Could not fetch URL https://pypi.org/simple/mod-wsgi/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/mod-wsgi/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping 10 ERROR: Could not find a version that satisfies the requirement mod_wsgi (from versions: none) 11ERROR: No matching distribution found for mod_wsgi 12WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 13Could 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("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
配布先のアドレスに到達できてないようなので、pipのエラーなのかと考えて次のことを試しましたが、状況は改善しません。
ためしたこと
- pip.iniの作成(%APPDATA%\pip\pip.ini)
[global]
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org
- pipのアップグレード
curl https://bootstrap.pypa.io/get-pip.py | python3
2. OpenSSlの導入
OpenSSL 1.0.2u
アドバイス、解決策を教えていただけると幸いです。どうぞよろしくお願いいたします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。