在 Wing101 中切换到 Python 3.6
Switching to Python 3.6 in Wing101
我 运行 Windows 10 岁 Python 3.6 安装在 "C:\Program Files (x86)"。我在使用 Python 2.7 时可以使用 Wing,但是当我尝试切换到 Python 3.6(编辑 > 配置 Python)时,我收到以下错误消息:
Trying to import netserver from C:\Program Files (x86)\Wing IDE 101
5.0\bin.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
您需要升级到 Wing 6,因为 Wing 5 不支持 Python 3.6。您可以在 http://wingware.com/downloads/wingide-101
获取
我 运行 Windows 10 岁 Python 3.6 安装在 "C:\Program Files (x86)"。我在使用 Python 2.7 时可以使用 Wing,但是当我尝试切换到 Python 3.6(编辑 > 配置 Python)时,我收到以下错误消息:
Trying to import netserver from C:\Program Files (x86)\Wing IDE 101
5.0\bin.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
您需要升级到 Wing 6,因为 Wing 5 不支持 Python 3.6。您可以在 http://wingware.com/downloads/wingide-101
获取