请帮帮我.这是我的Netbeans的屏幕:
PyCharm:
我该如何解决?我使用Oracle Java 7. java版"1.7.0_25"Java(TM)SE运行时环境(版本1.7.0_25-b15)Java HotSpot(TM)64位服务器VM(版本23.25-b01,混合模式)
PS:为了比较我的Sublime文字:
我有远程Ubuntu服务器,我正在尝试设置远程调试.配置如图所示这里.
import sys
import pydevd
sys.path.append('/root/home/scripts/pycharm-debug.egg')
pydevd.settrace('my_remote_server_IP', port=51234,
stdoutToServer=True, stderrToServer=True)
Run Code Online (Sandbox Code Playgroud)
我还连接远程主机以同步和上传我的python脚本到远程服务器.(工具 - >部署 - > ...)
当我开始调试时:
C:\Python27\python.exe C:/Projects/python/demo.py
Could not connect to xx.xx.xx.166: 51234
Traceback (most recent call last):
File "C:\Program Files (x86)\JetBrains\PyCharm 2.7.1\helpers\pydev\pydevd_comm.py", line 428, in StartClient
s.connect((host, port))
File "C:\Python27\Lib\socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 10061] ??????????? ?? ???????????,
Process finished with exit code 1
Run Code Online (Sandbox Code Playgroud)
如何解决这个问题呢?