当我们打字
python3 --version (or --V)
Run Code Online (Sandbox Code Playgroud)
它应该向我们展示python的版本吧?
但是,当我这样做时,我收到以下错误:
NameError:未定义名称"python3"
当我尝试使用安装pip时也是这种情况
>>> python3 get-pip.py
File "<stdin>", line 1
python3 get-pip.py
^
SyntaxError: invalid syntax
Run Code Online (Sandbox Code Playgroud)