在终端中,我可以成功地运行
py -2
。然而,
C:\Users\user>py -3
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\Python27\lib\encodings\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Current thread 0x00004570 (most recent call first):
python3
代替py -3
不起作用? - Tadhg McDonald-Jensen