2

我正在运行 Windows 10 并在“C:\Program Files (x86)”中安装了 Python 3.6。我在使用 Python 2.7 时可以使用 Wing,但是当我尝试切换到 Python 3.6(编辑 > 配置 Python)时,我收到以下错误消息:

Trying to import netserver from C:\Program Files (x86)\Wing IDE 101
5.0\bin\3.6\src\debug\tserver Unable to import findmodules Traceback (most recent call last):   File "C:\Program Files (x86)\Wing IDE 101
5.0\bin\wingdb.py", line 415, in FindNetServerModule
    import findmodules ModuleNotFoundError: No module named 'findmodules' Trying to import netserver from C:\Program Files (x86)\Wing IDE 101 5.0\src\debug\tserver Unable to import findmodules Traceback (most recent call last):   File "C:\Program Files (x86)\Wing IDE 101 5.0\bin\wingdb.py", line 415, in FindNetServerModule
    import findmodules ModuleNotFoundError: No module named 'findmodules' Traceback (most recent call last):

  File "C:\Program Files (x86)\Wing IDE 101 5.0\bin\wingdb.py", line 632, in main
    netserver = FindNetServerModule(winghome, user_settings, tmp_log)

  File "C:\Program Files (x86)\Wing IDE 101 5.0\bin\wingdb.py", line 451, in FindNetServerModule
    raise ImportError('Could not import netserver')

ImportError: Could not import netserver

wingdb.py: Error: Failed to start the debug server wingdb.py: Error: You may be running an unsupported version of Python wingdb.py: Python version = 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] wingdb.py: WINGHOME='C:\\Program Files (x86)\\Wing IDE 101 5.0' Traceback (most recent call last):   File "C:\Program Files (x86)\Wing IDE 101 5.0\bin\wingdb.py", line 632, in main
    netserver = FindNetServerModule(winghome, user_settings, tmp_log)   File "C:\Program Files (x86)\Wing IDE 101 5.0\bin\wingdb.py", line 451, in FindNetServerModule
    raise ImportError('Could not import netserver') ImportError: Could not import netserver

During handling of the above exception, another exception occurred:

Traceback (most recent call last):   File "C:\Program Files (x86)\Wing IDE 101 5.0\bin\wingdb.py", line 643, in main
    sys.exit(-1) SystemExit: -1
4

1 回答 1

2

您需要升级到 Wing 6,因为 Wing 5 不支持 Python 3.6。您可以在http://wingware.com/downloads/wingide-101获得它

于 2017-02-04T02:37:44.973 回答