前提・実現したいこと
pycharmから外部ライブラリ(例:termcolor)をインストールしようとしてもエラーがでてインストールに失敗します
pycharm⇒Setting for new Project⇒project interpriterにおいてsystem interpreterをanaconda3¥python.exeに設定しております。
外部ライブラリをインストールできるようにしたいです。
発生している問題・エラーメッセージ
collecting termcolor Could not fetch URL https://pypi.org/simple/termcolor/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/termcolor/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 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/termcolor/ 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/termcolor/ 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/termcolor/ 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/termcolor/ 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/termcolor/ Could not find a version that satisfies the requirement termcolor (from versions: ) No matching distribution found for termcolor
試したこと
pip installやpip install -U pipでは
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
ERROR: You must give at least one requirement to install (see "pip help install")と表示されました
補足情報(FW/ツールのバージョンなど)
pip -V はpip 18.1 from C:\Users\kazuy\Anaconda3\pip (python 3.7)
python -VはPython 3.7.1です
Edit configurationにおいてはEnvironmentではなぜかpython interpreterにはanacona3¥python.exeを設定できませんでした。
コントロールパネルからはanaconda3,anaconda3¥scriptのpathは登録してみました。
あなたの回答
tips
プレビュー