我可以在MacOS上安装Anaconda吗?

时间:2018-05-01 05:18:28

标签: python anaconda jupyter-notebook jupyter

我想要运行jupyter笔记本电脑,但是我在Mac上有一个混乱的Anaconda环境。老主人卸载了我想要使用的一些软件包 - jupyter notebook,pyzmq等。我想使用jupyter笔记本,但在我尝试手动重新安装这些软件包之后:
pip install jupyter
pip install pyzmq

我跑步时遇到错误:jupyter notebook
Traceback (most recent call last):

File "//anaconda/bin/jupyter-notebook", line 4, in <module> import notebook.notebookapp

File "//anaconda/lib/python2.7/site-packages/notebook/notebookapp.py", line 40, in <module> ioloop.install()

File "//anaconda/lib/python2.7/site-packages/zmq/eventloop/ioloop.py", line 210, in install assert (not ioloop.IOLoop.initialized()) or \

AttributeError: type object 'IOLoop' has no attribute 'initialized'

我可以再次重新安装Anaconda(或者我是否必须以某种方式卸载anaconda并安装在干净的系统上)?

1 个答案:

答案 0 :(得分:2)

This answers in this post will address your issue

但是,如果你想重新开始,我会建议removing anaconda completely,然后安装miniconda。

安装miniconda后,您可以使用:
conda install jupyter
conda install pyzmq
conda install WHATEVER_PACKAGE