teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

タイトルを編集しました

2020/12/09 18:19

投稿

yunyunno
yunyunno

スコア16

title CHANGED
@@ -1,1 +1,1 @@
1
- 【python】Unknown option: -e コマンドエラ
1
+ 【python】ジョンの確認方法@mac
body CHANGED
File without changes

1

誤字を一部更新しました

2020/12/09 18:19

投稿

yunyunno
yunyunno

スコア16

title CHANGED
File without changes
body CHANGED
@@ -15,20 +15,20 @@
15
15
 
16
16
  --ターミナルの表示--
17
17
 
18
+ ・理想の表示
18
- python -v
19
+ Python 2.○.○
20
+ Python 3.○.○
19
21
 
22
+ ・python -vと入力したとき
23
+
20
24
  WARNING: Python 2.7 is not recommended.
21
25
  This version is included in macOS for compatibility with legacy software.
22
26
  Future versions of macOS will not include Python 2.7.
23
27
  Instead, it is recommended that you transition to using 'python3' from within Terminal.
24
28
 
25
- # installing zipimport hook
26
- import zipimport # builtin
27
- # installed zipimport hook...
28
29
 
30
+ ・python -versionと入力したとき
29
31
 
30
- python -version
31
-
32
32
  Unknown option: -e
33
33
  usage: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python [option] ... [-c cmd | -m mod | file | -] [arg] ...
34
34
  Try `python -h' for more information.