蟒蛇:IPython 不是 运行
Anaconda : IPython not running
我是 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 可能没有安装。尝试 运行 以下命令
conda update conda
conda update ipython ipython-notebook ipython-qtconsole
只需要全新安装 IPython :
pip install ipython
pip install 'ipython[all]'
很有魅力:)
它安装在我的 base
环境中,但没有安装在新创建的 Python 3.6 环境中,所以我必须先激活它,然后从这里 运行 conda install -c anaconda ipython
: https://anaconda.org/anaconda/ipython
我是 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
ORipython 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 可能没有安装。尝试 运行 以下命令
conda update conda
conda update ipython ipython-notebook ipython-qtconsole
只需要全新安装 IPython :
pip install ipython
pip install 'ipython[all]'
很有魅力:)
它安装在我的 base
环境中,但没有安装在新创建的 Python 3.6 环境中,所以我必须先激活它,然后从这里 运行 conda install -c anaconda ipython
: https://anaconda.org/anaconda/ipython