Can I install Anaconda on MacOS to overwrite a corrupted Anaconda installation?… here is a solution to the problem.
Can I install Anaconda on MacOS to overwrite a corrupted Anaconda installation?
I
want to run jupyter notebooks, but the Anaconda environment for the Mac I’m using is a mess. The old owner uninstalled some packages I wanted to use – jupyter notebook, pyzmq, etc. I wanted to use jupyter notebooks, but after I tried manually reinstalling these packages using:
pip install jupyter
pip install pyzmq
An error occurred at runtime: 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'
Can I reinstall Anaconda
again (or do I have to somehow uninstall Anaconda and install it on a clean system)?
Solution
This answers in this post will address your issue
However, if you want to start over, I recommend removing anaconda completely and then installing miniconda.
Once miniconda is installed, you can use:
Conda installs Jupyter
Conda installs pyzmq
Conda installs WHATEVER_PACKAGE