Skip to main content
 首页 » 编程设计

python之python : IPython not running

2024年10月25日16leader

我是 python 的新手,需要为一些项目工作设置 IPython。我遵循了 Anaconda Installation Directions 。目前我在运行 IPython 时遇到了很多问题:

  • First I installed Anaconda in my home directory : \home\pranav
  • Next I ran the command conda just to check if the installation was correct - it turned out to be prefectly fine
  • When I type in ipython OR ipython notebook , I get the following error :

Traceback (most recent call last): File "/usr/local/bin/ipython", line 7, in <module> from IPython import start_ipython ImportError: No module named IPython

有人可以帮帮我吗?更改/添加 PATH 变量无法按照 Stack Overflow 上其他地方的建议工作

请您参考如下方法:

只需要全新安装 IPython:

  • pip install ipython
  • pip install 'ipython[all]'

工作起来很有魅力:)