由于我已经将macosx升级到Mojave 10.14,因此在使用 ipython 时开始出现此错误:
$ ipython
Traceback (most recent call last):
File "/usr/local/bin/ipython", line 7, in <module>
from IPython import start_ipython
ImportError: No module named IPython
我如何安装?
pip install ipython
或者:
brew install ipython
在新的干净virtualenv上
有什么见解?