前提・実現したいこと
pythonでpip installを実行するとエラーが発生する。
win10
python3.7.1です
発生している問題・エラーメッセージ
エラーメッセージ
C:\Users\yukim\Anaconda3\Scripts>pip install python-twitter pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting python-twitter 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/python-twitter/ 中略 Could not fetch URL https://pypi.org/simple/python-twitter/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/python-twitter/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping Could not find a version that satisfies the requirement python-twitter (from versions: ) No matching distribution found for python-twitter pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 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("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
試したこと
何をpip installしようとしても上記のエラーを吐きます。
察するに、sslなるものが認証されていないのでしょうか。
調べてはみましたが、sslは暗証化に使用されているシステムのようですが、プログラムもシステム回りもさっぱりのため、書かれている意味が全く理解できません。
頑張ってsslを導入すれば解決するのでしょうか?
そもそも、一般的にsslは標準でインストールされている?
pipのアップグレードを実行しても上記のエラーが発生してます。
管理者権限で実行してもダメでした。
補足情報(FW/ツールのバージョンなど)
anaconda3のpython3.7.1を使用しています(この書き方でokなのでしょうか)
かなり頓珍漢な質問ですが、お願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/05/27 14:07