简体   繁体   English

Pydev使用错误的IPython版本?

[英]Pydev using wrong IPython version?

I have Pydev 2.7, Python 3.2 and IPython 0.13 installed. 我安装了Pydev 2.7,Python 3.2和IPython 0.13。 However, when I run the interactive console in Eclipse it says 但是,当我在Eclipse中运行交互式控制台时,它说

PyDev console: using IPython 0.11

I cannot imagine where IPython 0.11 is supposed to come from. 我无法想象IPython 0.11应该来自哪里。 How can I check? 我该如何检查?

After running the console, import IPython; IPython.__version__ 运行控制台后, import IPython; IPython.__version__ import IPython; IPython.__version__ also gives me the correct version 0.13. import IPython; IPython.__version__还为我提供了正确的版本0.13。

Is it IPython 0.13 in the console now or is something wrong? 现在是控制台中的IPython 0.13还是有问题?

I think you're fine. 我觉得你很好。 I tried 我试过了

IPython.__version__

and also get 0.13 in the PyDev console: 并在PyDev控制台中获得0.13:

import sys; print('%s %s' % (sys.executable or sys.platform, sys.version))
C:\Python27\python.exe 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
PyDev console: using IPython 0.11
import IPython
IPython.__version__
Out[1]: '0.13.1'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM