Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I safely install Jupyter / IPython 4 over a conda installation?

IPython 4 is out! And I'm keen to try it. But I am running iPython under conda.

Before conda adds version 4 to its repository, is there a safe way to install IPython 4 manually?

I tried:

pip install --upgrade jupyter  

and it corrupted my installation. Any ideas?

like image 801
dan8394 Avatar asked Aug 13 '15 13:08

dan8394


People also ask

Should I use conda or pip in Jupyter Notebook?

pip is the default package manager that ships with python. Conda is also a package manager, but it is third party. Conda was made especially for data science libraries. Libraries installed with conda usually give much better performance than pip.

Should I install Jupyter Notebook with Anaconda?

The general recommendation is that you use the Anaconda distribution to install both Python and the Jupyter Notebook. Jupyter Notebook in Anaconda comes pre-installed, meaning that you do not have to install it explicitly.


1 Answers

For me, similar to what Thomas mentioned in his comments, the following worked

conda update conda
conda uninstall ipython
conda install jupyter

The first two steps may not be necessary, but better save than sorry.

like image 151
sjk Avatar answered Oct 14 '22 23:10

sjk