Anaconda Python 和 PyDev(在 Aptana Studio 中)
Anaconda Python and PyDev (in Aptana Studio)
我刚刚使用 Anaconda
更新了 Python 3.4
的安装。
我现在无法使用此版本的 Python 在 Aptana Studio
中打开 PyDev console
,尽管我可以使用不同版本的 Python.
我得到的错误信息是这样的:
Error initializing console.
Unexpected error connecting to console.
Failed to recive suitable Hello response from pydevconsole. Last msg received: Console already exited with value: 1 while waiting for an answer.
Error stream: C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\IPython\utils\traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
Error starting server with host: 127.0.0.1, port: 52021, client_port: 52022
Traceback (most recent call last):
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydevconsole.py", line 222, in <module>
StartServer(pydev_localhost.get_localhost(), int(port), int(client_port))
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydevconsole.py", line 191, in StartServer
interpreter = InterpreterInterface(host, client_port, server)
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console.py", line 30, in __init__
self.interpreter = PyDevFrontEnd(pydev_host=host, pydev_client_port=client_port)
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console_011.py", line 299, in __init__
self.ipython = PyDevTerminalInteractiveShell.instance()
File "C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 412, in instance
inst = cls(*args, **kwargs)
File "C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\IPython\terminal\interactiveshell.py", line 396, in __init__
super(TerminalInteractiveShell, self).__init__(*args, **kwargs)
File "C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 495, in __init__
self.init_completer()
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console_011.py", line 220, in init_completer
self.Completer = self._new_completer_200()
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console_011.py", line 192, in _new_completer_200
use_readline=self.has_readline,
AttributeError: 'PyDevTerminalInteractiveShell' object has no attribute 'has_readline'
我一直在关注其他主题并获得有关 32 位和 64 位兼容性的矛盾信息。我运行宁64-bit Win7
。我现在安装了 64 位和 32 位版本的 Java
。 Aptana
仅作为 Windows 的 32 位存在,我认为它使用 32 bit
Java,因为当我只有 [=21] 时 Aptana
不会初始化=] 安装。我已经尝试了 Anaconda
的 32 位和 64 位版本,结果相同。
我已经尝试更新 ipython。
我还尝试将代理设置更改为手动并选择 127.0.0.1 和本地主机。
我 运行 没主意了!
卸载 Aptana。
安装 PyCharm。
简单。
我刚刚使用 Anaconda
更新了 Python 3.4
的安装。
我现在无法使用此版本的 Python 在 Aptana Studio
中打开 PyDev console
,尽管我可以使用不同版本的 Python.
我得到的错误信息是这样的:
Error initializing console.
Unexpected error connecting to console.
Failed to recive suitable Hello response from pydevconsole. Last msg received: Console already exited with value: 1 while waiting for an answer.
Error stream: C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\IPython\utils\traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
Error starting server with host: 127.0.0.1, port: 52021, client_port: 52022
Traceback (most recent call last):
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydevconsole.py", line 222, in <module>
StartServer(pydev_localhost.get_localhost(), int(port), int(client_port))
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydevconsole.py", line 191, in StartServer
interpreter = InterpreterInterface(host, client_port, server)
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console.py", line 30, in __init__
self.interpreter = PyDevFrontEnd(pydev_host=host, pydev_client_port=client_port)
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console_011.py", line 299, in __init__
self.ipython = PyDevTerminalInteractiveShell.instance()
File "C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\traitlets\config\configurable.py", line 412, in instance
inst = cls(*args, **kwargs)
File "C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\IPython\terminal\interactiveshell.py", line 396, in __init__
super(TerminalInteractiveShell, self).__init__(*args, **kwargs)
File "C:\Users\z5044992\AppData\Local\Continuum\Anaconda3\lib\site-packages\IPython\core\interactiveshell.py", line 495, in __init__
self.init_completer()
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console_011.py", line 220, in init_completer
self.Completer = self._new_completer_200()
File "C:\Users\z5044992\AppData\Roaming\Appcelerator\Aptana Studio\plugins\org.python.pydev_3.0.0.1388187472\pysrc\pydev_ipython_console_011.py", line 192, in _new_completer_200
use_readline=self.has_readline,
AttributeError: 'PyDevTerminalInteractiveShell' object has no attribute 'has_readline'
我一直在关注其他主题并获得有关 32 位和 64 位兼容性的矛盾信息。我运行宁64-bit Win7
。我现在安装了 64 位和 32 位版本的 Java
。 Aptana
仅作为 Windows 的 32 位存在,我认为它使用 32 bit
Java,因为当我只有 [=21] 时 Aptana
不会初始化=] 安装。我已经尝试了 Anaconda
的 32 位和 64 位版本,结果相同。
我已经尝试更新 ipython。
我还尝试将代理设置更改为手动并选择 127.0.0.1 和本地主机。
我 运行 没主意了!
卸载 Aptana。 安装 PyCharm。 简单。