科学の箱

科学・IT・登山の話題

Python

requests.exceptions.SSLError: HTTPSConnectionPoolの対応方法

投稿日:

エラー

raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host=’api.flickr.com’, port=443): Max retries exceeded with url: /services/rest/ (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))

調べた結果

https://stackoverflow.com/questions/54135206/requests-caused-by-sslerrorcant-connect-to-https-url-because-the-ssl-module

ProcessMonitor

対応方法

C:\Users\USER_NAME\.conda\envs\tf140\Library\binからC:\Users\USER_NAME\.conda\envs\tf140\DLLsへ下記2つのファイルをコピーしたら解消

  • libcrypto-1_1-x64.dll
  • libssl-1_1-x64.dll

 

メタ情報

inarticle



メタ情報

inarticle



-Python

執筆者:


comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

Pythonまとめ

環境設定 環境設定 基本 Hello Worldを実行 数字、計算、文字列を画面出力   文字列 Pythonで文字列を生成するときの方法についてまとめる 制御フロー if ループ イテレー …

no image

kaggle Titanic Tutorial – 11

kaggleで人気があるlightGBMをつかってみる。   インストール pip install lightgbm 特に問題がなく終了。 コード、関係するところだけ記載。 split_be …

no image

pythonでpostgresqlを使うときに必要なモジュール

pip install psycopg2-binary Related posts:jupyterで目的のディレクトリから実行する方法kaggle Titanic Tutorial – 10配列の属性 …

no image

kaggle Titanic Tutorial – 4

名前から取得できるタイトルを分析に利用してみる。 タイトルは末尾に”.”がついているのでこれを利用して切り出す。 def get_title(name): if ‘.’ in …

no image

python coding styleのツール

Pythonで使えるコーディングツール pep8 flake8 pylint   Related posts:dataframeのgroupbyで使えるメソッドPython + Slack …

2020年5月
月 火 水 木 金 土 日
« 4月   7月 »
 123
45678910
11121314151617
18192021222324
25262728293031

side bar top



アーカイブ

カテゴリー