Python 2to3 windows CMD

前端 未结 3 539
臣服心动
臣服心动 2021-02-03 22:14

I have installed python 32 package to the

C:\\python32

I have also set the paths:

PYTHONPATH | C:\\Python32\

3条回答
  •  独厮守ぢ
    2021-02-03 22:50

    Apparently the directory mame "C" is "invalid syntax."

    All the following variants are "invalid":

    python c:\Python34\Tools\Scripts -w c:\python\batch.py
    python c:\\Python34\\Tools\\Scripts -w c:\\python\\batch.py
    python.exe C:\Python34\Tools\Scripts\2to3.py -w C:\python\batch.py
    python.exe C:\\Python34\\Tools\\Scripts\\2to3.py -w C:\\python\\batch.py
    

    Etc. When I put in quotation marks, the closing quote is "invalid syntax."

提交回复
热议问题