質問編集履歴

7

書式の改善

2022/08/17 05:54

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -10,3 +10,5 @@
10
10
  を実行して表示されるリストにはsslモジュールが見つかりませんでした。
11
11
 
12
12
  原因がわからないので教えてください。
13
+
14
+ OS : MacOS Monterey 12.5

6

書式の改善

2022/08/17 05:52

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,6 @@
7
7
  ```terminal
8
8
  pip3 list
9
9
  ```
10
- を実行しリストにはsslモジュールが見つかりませんでした。
10
+ を実行して表示されるリストにはsslモジュールが見つかりませんでした。
11
11
 
12
12
  原因がわからないので教えてください。

5

書式

2022/08/17 05:52

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,5 +1,4 @@
1
1
 
2
- ### 経緯
3
2
  python3で```import ssl```を実行するのには成功しましたが、terminalで
4
3
  ```terminal
5
4
  pip list

4

xyの解消

2022/08/17 05:51

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- pip3 install sslのエラを解消した
1
+ import ssl は正常に実行できるのに、pip listやpip3 listにsslモジュルがなのは何故か?
test CHANGED
@@ -1,47 +1,13 @@
1
1
 
2
- ### 実現したいこと
2
+ ### 経緯
3
+ python3で```import ssl```を実行するのには成功しましたが、terminalで
4
+ ```terminal
5
+ pip list
6
+ ```
7
+
8
+ ```terminal
9
+ pip3 list
10
+ ```
11
+ を実行したリストにはsslモジュールが見つかりませんでした。
3
12
 
4
- ```pip3 install ssl```を実行した上で出てきたsubprocess-exited-with-errorを解消したい
5
-
6
- ### 発生している問題・エラーメッセージ
13
+ 原因がわからないので教えくださ
7
-
8
- ターミナルで```pip3 install ssl```を実行すると以下のエラーが出ます。
9
- ```terminal
10
- Collecting ssl
11
- Using cached ssl-1.16.tar.gz (33 kB)
12
- Preparing metadata (setup.py) ... error
13
- error: subprocess-exited-with-error
14
-
15
- × python setup.py egg_info did not run successfully.
16
- │ exit code: 1
17
- ╰─> [7 lines of output]
18
- Traceback (most recent call last):
19
- File "<string>", line 2, in <module>
20
- File "<pip-setuptools-caller>", line 34, in <module>
21
- File "/private/var/folders/z1/r2sygmtd6vbcr2zn6z5f9yq00000gp/T/pip-install-twfw2lt2/ssl_0e3ed9c403e140acbbbeb98fa31bec82/setup.py", line 33
22
- print 'looking for', f
23
- ^^^^^^^^^^^^^^^^^^^^^^
24
- SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
25
- [end of output]
26
-
27
- note: This error originates from a subprocess, and is likely not a problem with pip.
28
- error: metadata-generation-failed
29
-
30
- × Encountered error while generating package metadata.
31
- ╰─> See above for output.
32
-
33
- note: This is an issue with the package mentioned above, not pip.
34
- hint: See above for details.
35
- ```
36
-
37
- ### 該当のソースコード
38
-
39
- ```terminal
40
- pip3 install ssl
41
- ```
42
-
43
-
44
-
45
- ### 補足情報(FW/ツールのバージョンなど)
46
- macOS Monterey 12.5
47
- MacBook Pro(16インチ、2021)

3

書式

2022/08/16 23:23

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- subprocess-exited-with-error
1
+ pip3 install sslのエラーを解消したい
test CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  ### 実現したいこと
3
3
 
4
- subprocess-exited-with-errorを解消したい
4
+ ```pip3 install ssl```を実行した上で出てきたsubprocess-exited-with-errorを解消したい
5
5
 
6
6
  ### 発生している問題・エラーメッセージ
7
7
 

2

文法

2022/08/16 13:32

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  ### 実現したいこと
3
3
 
4
- MacOSで、pip3でsslをinstallしたい
4
+ subprocess-exited-with-errorを解消したい
5
5
 
6
6
  ### 発生している問題・エラーメッセージ
7
7
 

1

修正

2022/08/16 11:32

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
File without changes