質問編集履歴

2

Typo

2022/09/26 08:19

投稿

Cocode
Cocode

スコア2314

test CHANGED
File without changes
test CHANGED
@@ -28,7 +28,7 @@
28
28
  ```
29
29
  ---
30
30
 
31
- ②同じく仮想環境にて、VSCode上のターミナルで`$ python3 <pyファイルのパス>`を実行し、math()関数(3.10〜しか使えない)が書かれたファイルでしたが、問題なく実行されたことを確認しました。
31
+ ②同じく仮想環境にて、VSCode上のターミナルで`$ python3 <pyファイルのパス>`を実行し、match()関数(3.10〜しか使えない)が書かれたファイルでしたが、問題なく実行されたことを確認しました。
32
32
 
33
33
  ---
34
34
 

1

which追加

2022/09/26 08:07

投稿

Cocode
Cocode

スコア2314

test CHANGED
File without changes
test CHANGED
@@ -33,10 +33,11 @@
33
33
  ---
34
34
 
35
35
  ③VSCodeにて、ワークスペースの設定がかかれた`settings.json`にて、pythonのパスの設定もしています。
36
+ このパスは仮想環境にてターミナルで`$ which python3`を実行して得られたパスです。
36
37
  ```json
37
38
  // settings.json
38
39
  {
39
- "python.defaultInterpreterPath": "/opt/anaconda3/envs/clear-code-lessons/python"
40
+ "python.defaultInterpreterPath": "/opt/anaconda3/envs/clear-code-lessons/python3"
40
41
  }
41
42
  ```
42
43