当通过Ubuntu的apt-get安装时,PyCharm无法识别iPython

时间:2017-05-24 08:15:50

标签: python ubuntu pycharm

我已经使用iPython安装了sudo apt-get install ipython用于Ubuntu的默认Python安装(因为我无法使用Anaconda编译某些特定程序)。我可以在命令行中使用/usr/bin/ipython

但是,当在项目设置(/usr/bin/python3.5)中链接默认的python解释器时,python命令行不支持ipython并且是标准的python命令行。

项目解释器窗口也不会将ipython列为/usr/bin/python3.5配置的已安装包。但它就在那里:

sudo apt-get install ipython
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ipython is already the newest version (2.4.1-1).

我该如何解决这个问题?

初始化命令行的输出:

/usr/bin/python3.5 /opt/pycharm-2016.3.2/helpers/pydev/pydevconsole.py 44543 41206
PyDev console: starting.
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['$$projectPath$$'])
Python 3.5.2 (default, Nov 17 2016, 17:05:23) 
[GCC 5.4.0 20160609] on linux

0 个答案:

没有答案
相关问题