質問編集履歴

5

 内容の充実化

2022/09/29 12:56

投稿

aaaa____
aaaa____

スコア24

test CHANGED
File without changes
test CHANGED
@@ -36,7 +36,7 @@
36
36
 
37
37
  ```
38
38
 
39
- /Library/Developer/CommandLineTools/usr/bin を見るとしっかりpip3はありました.
39
+ ~~/Library/Developer/CommandLineTools/usr/bin を見るとしっかりpip3はありました.~~(追記参照)
40
40
  なのでPATHを通すために.zshrcに
41
41
 
42
42
  ```ここに言語を入力

4

内容の字ううじつか

2022/09/29 12:54

投稿

aaaa____
aaaa____

スコア24

test CHANGED
File without changes
test CHANGED
@@ -141,3 +141,9 @@
141
141
  ModuleNotFoundError: No module named 'mesonpy'
142
142
  ```
143
143
  簡単に調べてみたところ,Measonというビルド自動化のためのソフトがあるらしいのですが,それをinstallしなくてはいけないということでしょうか.
144
+
145
+ ```
146
+ MacBook-Air ~ % pip3 -V
147
+ pip 22.2.2 from /opt/homebrew/lib/python3.10/site-packages/pip (python 3.10)
148
+ ```
149
+ も変わっていました.python3.8でなく3.10になってます.

3

内容の充実化

2022/09/29 12:45

投稿

aaaa____
aaaa____

スコア24

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
  なのでPATHを通すために.zshrcに
41
41
 
42
42
  ```ここに言語を入力
43
- Export PATH=$PATH:/Library/Developer/CommandLineTools/usr/bin
43
+ export PATH=$PATH:/Library/Developer/CommandLineTools/usr/bin
44
44
  ```
45
45
  を書き込み.
46
46
 
@@ -113,3 +113,31 @@
113
113
  /usr/bin/python3
114
114
  ```
115
115
  のようにpython3があるようです.
116
+
117
+ ### 追記2
118
+ exportの大文字と小文字の認識が間違っていたようで,今までのものはsource .zshrcが適用できていなかったことで起こったことのようです.
119
+ sourceをした後にもう一度
120
+ pip3 install synthesizer
121
+ をするとエラーの内容が変わりました.(pip install synthesizerとしたときは先ほどと同じエラー)
122
+
123
+ ```
124
+ ~ % pip3 install synthesizer
125
+ Collecting synthesizer
126
+ Using cached synthesizer-0.2.0.tar.gz (5.4 kB)
127
+ Preparing metadata (setup.py) ... done
128
+ Collecting enum34>=1.1.6
129
+ Using cached enum34-1.1.10-py3-none-any.whl (11 kB)
130
+ Collecting numpy>=1.13.3
131
+ Downloading numpy-1.23.3-cp310-cp310-macosx_11_0_arm64.whl (13.3 MB)
132
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.3/13.3 MB 8.7 MB/s eta 0:00:00
133
+ Collecting scipy>=0.19.1
134
+ Using cached scipy-1.9.1.tar.gz (42.0 MB)
135
+ Installing build dependencies ... done
136
+ Getting requirements to build wheel ... done
137
+ ERROR: Exception:
138
+ .
139
+ .
140
+ .
141
+ ModuleNotFoundError: No module named 'mesonpy'
142
+ ```
143
+ 簡単に調べてみたところ,Measonというビルド自動化のためのソフトがあるらしいのですが,それをinstallしなくてはいけないということでしょうか.

2

内容の充実化

2022/09/29 12:33

投稿

aaaa____
aaaa____

スコア24

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,7 @@
4
4
  を実行するためにpip3を入れて実行しようとしたらエラーが発生し,エラーで調べてみても直せるようなサイトが見当たらなかったので対処法を教えていただきたいです.
5
5
 
6
6
  以下に行った手順を載せます.
7
- 環境はmacOSです.
7
+ 環境はM1 MacBook Air macOSです.
8
8
 
9
9
 
10
10
  ### 手順
@@ -97,3 +97,19 @@
97
97
  note: This error originates from a subprocess, and is likely not a problem with pip.
98
98
 
99
99
  ```
100
+
101
+
102
+ ### 追記
103
+ pipをインストールした際の出力の見る場所を誤っていて,PATHの追加場所が異なっていたようですが,出力されている,
104
+ ```
105
+ /Users/usrname/Library/Python/3.8/bin
106
+ ```
107
+ に変更してみても同様のエラーが生じました.
108
+
109
+
110
+ ```
111
+ MacBook-Air ~ % which -a python3
112
+ /opt/homebrew/bin/python3
113
+ /usr/bin/python3
114
+ ```
115
+ のようにpython3があるようです.

1

内容の修正

2022/09/28 12:23

投稿

aaaa____
aaaa____

スコア24

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
  Downloading pip-22.2.2-py3-none-any.whl (2.0 MB)
27
27
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 1.7 MB/s eta 0:00:00
28
28
  Installing collected packages: pip
29
- WARNING: The scripts pip, pip3 and pip3.8 are installed in '/Users/sonoyamayuto/Library/Python/3.8/bin' which is not on PATH.
29
+ WARNING: The scripts pip, pip3 and pip3.8 are installed in '/Users/usrname/Library/Python/3.8/bin' which is not on PATH.
30
30
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
31
31
  Successfully installed pip-22.2.2
32
32