我想在Pydev Eclipse插件中使用IPython作为解释器。
我正在运行Linux(OpenSUSE)上的IPython 0.10和Pydev 2.5.0。
当我进入Pydev首选项并尝试设置IPython路径时(如此页面所述:http://pydev.org/manual_101_interpreter.html),我会收到以下错误消息:“未找到Python stdlib或者stdlib没有.py文件”。
从bash终端窗口中,ipython解释器可以正常工作,并且我可以通过命令“which ipython”获取路径。
有人能帮帮我吗?
谢谢!
interpreterInfo.py输出如下:
我正在运行Linux(OpenSUSE)上的IPython 0.10和Pydev 2.5.0。
当我进入Pydev首选项并尝试设置IPython路径时(如此页面所述:http://pydev.org/manual_101_interpreter.html),我会收到以下错误消息:“未找到Python stdlib或者stdlib没有.py文件”。
从bash终端窗口中,ipython解释器可以正常工作,并且我可以通过命令“which ipython”获取路径。
有人能帮帮我吗?
谢谢!
interpreterInfo.py输出如下:
python /home/softs/eclipse/plugins/org.python.pydev_2.5.0.2012040618/PySrc/interpreterInfo.py
<xml>
<version>2.7</version>
<executable>/usr/bin/python</executable>
<lib path="out">/home/softs/eclipse/plugins/org.python.pydev_2.5.0.2012040618/PySrc</lib>
<lib path="ins">/usr/local/lib64/python2.7/site-packages/scikits.timeseries-0.91.3-py2.7-linux-x86_64.egg</lib>
<lib path="ins">/usr/local/lib64/python2.7/site-packages/distribute-0.6.19-py2.7.egg</lib>
<lib path="ins">/usr/local/lib64/python2.7/site-packages/MeshPy-2011.1-py2.7-linux-x86_64.egg</lib>
<lib path="out">/data/dvp/python</lib>
<lib path="out">/home/mayet</lib>
<lib path="ins">/usr/lib/python27.zip</lib>
<lib path="ins">/usr/lib64/python2.7</lib>
<lib path="ins">/usr/lib64/python2.7/plat-linux2</lib>
<lib path="ins">/usr/lib64/python2.7/lib-tk</lib>
<lib path="ins">/usr/lib64/python2.7/lib-old</lib>
<lib path="ins">/usr/lib64/python2.7/lib-dynload</lib>
<lib path="ins">/usr/lib64/python2.7/site-packages</lib>
<lib path="ins">/usr/lib64/python2.7/site-packages/PIL</lib>
<lib path="ins">/usr/local/lib64/python2.7/site-packages</lib>
<lib path="ins">/usr/local/lib/python2.7/site-packages</lib>
<lib path="ins">/usr/lib64/python2.7/site-packages/gtk-2.0</lib>
<lib path="ins">/usr/lib/python2.7/site-packages</lib>
<lib path="ins">/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info</lib>
<lib path="ins">/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode</lib>
<forced_lib>__builtin__</forced_lib>
<forced_lib>__main__</forced_lib>
<forced_lib>_ast</forced_lib>
<forced_lib>_codecs</forced_lib>
<forced_lib>_sre</forced_lib>
<forced_lib>_symtable</forced_lib>
<forced_lib>_warnings</forced_lib>
<forced_lib>errno</forced_lib>
<forced_lib>exceptions</forced_lib>
<forced_lib>gc</forced_lib>
<forced_lib>imp</forced_lib>
<forced_lib>marshal</forced_lib>
<forced_lib>posix</forced_lib>
<forced_lib>pwd</forced_lib>
<forced_lib>signal</forced_lib>
<forced_lib>sys</forced_lib>
<forced_lib>thread</forced_lib>
<forced_lib>xxsubtype</forced_lib>
<forced_lib>zipimport</forced_lib>
</xml>Traceback (most recent call last):
File "/home/softs/eclipse/plugins/org.python.pydev_2.5.0.2012040618/PySrc/interpreterInfo.py", line 142, in <module>
raise RuntimeError('Ok, this is so that it shows the output (ugly hack for some platforms, so that it releases the output).')
RuntimeError: Ok, this is so that it shows the output (ugly hack for some platforms, so that it releases the output).
/usr/lib/python2.7/site-packages/IPython/
,但是我收到错误消息PyDev console: using default backend (IPython not available).
该目录包含一些目录和许多.py和.pyc文件。我不知道哪些是必要的?再次感谢您的帮助(对于我的上一篇文章被截断,我很抱歉)。 - clement/usr/lib/python2.7/site-packages/
添加到PYTHONPATH中,但它不起作用(PyDev console: using default backend (IPython not available).
)。这就是为什么我尝试添加IPython路径的原因...有没有办法获取更明确的错误消息以找出问题所在? - clement