質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

Q&A

0回答

1170閲覧

外部ライブラリのインストールをpycharmからしたいですがエラーが出てしまい出来ません

sg918273

総合スコア10

Python 3.x

Python 3はPythonプログラミング言語の最新バージョンであり、2008年12月3日にリリースされました。

Python

Pythonは、コードの読みやすさが特徴的なプログラミング言語の1つです。 強い型付け、動的型付けに対応しており、後方互換性がないバージョン2系とバージョン3系が使用されています。 商用製品の開発にも無料で使用でき、OSだけでなく仮想環境にも対応。Unicodeによる文字列操作をサポートしているため、日本語処理も標準で可能です。

0グッド

1クリップ

投稿2019/01/19 13:43

編集2019/01/20 14:02

前提・実現したいこと

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は登録してみました。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問