Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

uninstall ipython mac os x

Tags:

macos

ipython

I've just installed a new ipython 0.11 on Mac OS X from sources. Unfortunately it turned out that it lacks back-compatibility with its previous versions, so all the scripts I need do not work. After that i installed a 0.10 version of ipython from macports, hoping it would replace the current one (yep, maybe it wasn't a good idea - things gone even more complicated). But it didn't, and my scripts are still using the 0.11 version of ipython

The only thing I need is to make my scripts working. So I need somehow uninstall iPython v.0.11, or make version 0.10 a preferred to use

Thanks for any help!

like image 644
Andrey Lushnikov Avatar asked Aug 11 '11 01:08

Andrey Lushnikov


People also ask

How do I remove Jupyter from my Mac?

The best way to uninstall it completely is by running: $ pip install pip-autoremove. $ pip-autoremove jupyter -y.


2 Answers

pip uninstall ipython might be able to remove it.

Otherwise, you'll have to find the files and delete them. At an interactive prompt, do:

>>> import IPython
>>> IPython

Which should show you where it's imported from.

like image 154
Thomas K Avatar answered Sep 18 '22 11:09

Thomas K


Remember to run pip as a root, or:

    sudo pip uninstall ipython

Without sudo, it didn't work with me.

like image 41
Aziz Alto Avatar answered Sep 21 '22 11:09

Aziz Alto