質問編集履歴
9
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -21,7 +21,6 @@
|
|
21
21
|
コード
|
22
22
|
import webbrowser
|
23
23
|
import pyautogui
|
24
|
-
import pyperclip
|
25
24
|
import time
|
26
25
|
〜〜〜
|
27
26
|
|
8
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -40,7 +40,6 @@
|
|
40
40
|
```senglistV5
|
41
41
|
import webbrowser
|
42
42
|
import pyautogui
|
43
|
-
import pyperclip
|
44
43
|
import time
|
45
44
|
|
46
45
|
pyautogui.FAILSAFE = True
|
7
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,21 +12,20 @@
|
|
12
12
|
Which python
|
13
13
|
/usr/bin/python
|
14
14
|
|
15
|
-
```python```
|
16
15
|
### 発生している問題・エラーメッセージ
|
17
16
|
アクション“シェルスクリプトを実行”でエラーが起きました: “Traceback (most recent call last):
|
18
17
|
File "/Users/____/Desktop/test/sendlist.py", line 3, in <module>
|
19
18
|
import pyautogui
|
20
19
|
ModuleNotFoundError: No module named 'pyautogui'”
|
21
20
|
|
22
|
-
|
21
|
+
コード
|
23
22
|
import webbrowser
|
24
23
|
import pyautogui
|
25
24
|
import pyperclip
|
26
25
|
import time
|
27
26
|
〜〜〜
|
28
27
|
|
29
|
-
#
|
28
|
+
#試したこと
|
30
29
|
同じディレクトリ内に別の適当なコードを書いて見ると動きました
|
31
30
|
コード内の問題でしょうか?
|
32
31
|
ターミナルから起動させると動くのですが…
|
@@ -34,14 +33,11 @@
|
|
34
33
|
追記:
|
35
34
|
python3 -c "import sys; print(sys.executable)"
|
36
35
|
python3 -c "import sys; print(sys.prefix)"
|
36
|
+
|
37
|
-
|
37
|
+
結果↓
|
38
38
|

|
39
|
-
これを変更すれば解決するのかな…
|
40
39
|
|
41
|
-
```
|
40
|
+
```senglistV5
|
42
|
-
コード
|
43
|
-
```
|
44
|
-
#準備!
|
45
41
|
import webbrowser
|
46
42
|
import pyautogui
|
47
43
|
import pyperclip
|
@@ -49,10 +45,8 @@
|
|
49
45
|
|
50
46
|
pyautogui.FAILSAFE = True
|
51
47
|
|
52
|
-
|
53
48
|
webbrowser.open("https://google.com")
|
54
49
|
|
55
50
|
pyautogui.hotkey("command","Shift","x")
|
56
51
|
time.sleep(2)
|
57
|
-
pyautogui.hotkey("escape")
|
58
|
-
|
52
|
+
```
|
6
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,4 +36,23 @@
|
|
36
36
|
python3 -c "import sys; print(sys.prefix)"
|
37
37
|
の結果です↓
|
38
38
|

|
39
|
-
これを変更すれば解決するのかな…
|
39
|
+
これを変更すれば解決するのかな…
|
40
|
+
|
41
|
+
```ここに言語を入力
|
42
|
+
コード
|
43
|
+
```
|
44
|
+
#準備!
|
45
|
+
import webbrowser
|
46
|
+
import pyautogui
|
47
|
+
import pyperclip
|
48
|
+
import time
|
49
|
+
|
50
|
+
pyautogui.FAILSAFE = True
|
51
|
+
|
52
|
+
|
53
|
+
webbrowser.open("https://google.com")
|
54
|
+
|
55
|
+
pyautogui.hotkey("command","Shift","x")
|
56
|
+
time.sleep(2)
|
57
|
+
pyautogui.hotkey("escape")
|
58
|
+
time.sleep(2)
|
5
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
```python```
|
16
16
|
### 発生している問題・エラーメッセージ
|
17
17
|
アクション“シェルスクリプトを実行”でエラーが起きました: “Traceback (most recent call last):
|
18
|
-
File "/Users/
|
18
|
+
File "/Users/____/Desktop/test/sendlist.py", line 3, in <module>
|
19
19
|
import pyautogui
|
20
20
|
ModuleNotFoundError: No module named 'pyautogui'”
|
21
21
|
|
4
cd
title
CHANGED
File without changes
|
body
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
|
5
5
|
autometor
|
6
|
-
cd /Users/----/Desktop
|
6
|
+
cd /Users/----/Desktop
|
7
7
|
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 sendlist_V5.py
|
8
8
|
|
9
9
|
シェル
|
3
autometor部分変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
autometor
|
6
6
|
cd /Users/----/Desktop/test/
|
7
|
-
|
7
|
+
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3 sendlist_V5.py
|
8
8
|
|
9
9
|
シェル
|
10
10
|
bin/bash
|
2
Which python の結果 (/Users/****/.pyenv/shims/python → /usr/bin/python
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
bin/bash
|
11
11
|
|
12
12
|
Which python
|
13
|
-
/
|
13
|
+
/usr/bin/python
|
14
14
|
|
15
15
|
```python```
|
16
16
|
### 発生している問題・エラーメッセージ
|
1
環境の画像の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -29,4 +29,11 @@
|
|
29
29
|
### 試したこと
|
30
30
|
同じディレクトリ内に別の適当なコードを書いて見ると動きました
|
31
31
|
コード内の問題でしょうか?
|
32
|
-
ターミナルから起動させると動くのですが…
|
32
|
+
ターミナルから起動させると動くのですが…
|
33
|
+
|
34
|
+
追記:
|
35
|
+
python3 -c "import sys; print(sys.executable)"
|
36
|
+
python3 -c "import sys; print(sys.prefix)"
|
37
|
+
の結果です↓
|
38
|
+

|
39
|
+
これを変更すれば解決するのかな…
|