科学の箱

科学・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 + Slack Bot – 2

Slackのチャネルに投稿するにはChanel IDが必要。 Chanel IDは下記から取得できる。 https://api.slack.com/methods/channels.list/test …

no image

kaggle Titanic Tutorial – 6

さて、今回は年齢について検証する。まずこれまでは中央値を使っていたわけだ。これをもともと年齢分布と中央値を使って更新した後の年齢分布を比較する。 import numpy as nm import p …

no image

pythonでTensorFlowを使うまで

TensorFlowが利用できるまでの設定手順をまとめる。 まず基本となるインストラクションはこちらにある。 https://www.tensorflow.org/install/pip このインスト …

no image

model.coef_の確認

重回帰分析で重みを確認するには下記を利用する。 model.coef_ ただしこれだと有効桁数が分かりにくいので有効桁数を3桁にして、さらに指数を展開する。 np.set_printoptions(p …

no image

GCP google translatorの利用

こちらが詳しい https://cloud.google.com/translate/docs/reference/libraries#client-libraries-usage-python &n …

2020年5月
« 4月   7月 »
 123
45678910
11121314151617
18192021222324
25262728293031

side bar top



アーカイブ

カテゴリー