我已经在计算机上安装了旧版本的python 2.6,并注册了PythonPath
变量才能在C:\Python26
中进行搜索(我需要这样做,因为另一个软件必须通过pythonpath变量安装并注册了python )。现在,如果我尝试运行WinPython 3.6,则会收到错误消息:
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\PYTHON26\LIB\encodings\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Current thread 0x00003374 (most recent call first):
有没有一种方法可以在不查找Python 2.6文件夹的情况下运行WinPython 3.6?