質問編集履歴
1
エラーメッセージとソースコードの部分を分けました
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
### 発生している問題・エラーメッセージ
|
6
6
|
|
7
|
-
|
7
|
+
|
8
8
|
Traceback (most recent call last):
|
9
9
|
File "C:\Users\tomon\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 659, in urlopen
|
10
10
|
conn = self._get_conn(timeout=pool_timeout)
|
@@ -40,19 +40,20 @@
|
|
40
40
|
r = adapter.send(request, **kwargs)
|
41
41
|
File "C:\Users\tomon\anaconda3\lib\site-packages\requests\adapters.py", line 514, in send
|
42
42
|
raise SSLError(e, request=request)
|
43
|
-
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
|
43
|
+
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
|
44
44
|
|
45
|
+
|
45
46
|
### 該当のソースコード
|
46
47
|
|
47
|
-
|
48
|
+
|
48
49
|
import requests
|
49
50
|
|
50
51
|
res = requests.get('https://www.google.com/')
|
51
52
|
|
52
53
|
print(res.text)
|
53
|
-
```
|
54
54
|
|
55
55
|
|
56
|
+
|
56
57
|
### 補足情報(FW/ツールのバージョンなど)
|
57
58
|
|
58
59
|
os:windows10
|