My ipython and libraries are disabled after installing OS X 10.8 (Mountain Lion)

I have a problem similar to the one below:

Python package after OS X 10.8 update

After installing ML, I can no longer use iPython, SciPy or Matplotlib. I get this error:

Shanes-MacBook-Pro:~ $ ipython Traceback (most recent call last): File "/usr/local/bin/ipython", line 5, in <module> from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> working_set.require(__requires__) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require needed = self.resolve(parse_requirements(requirements)) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 565, in resolve raise DistributionNotFound(req) # XXX put more info here pkg_resources.DistributionNotFound: ipython==0.14.dev 

I tried the following:

When I write which python says it is in /usr/bin/python .

Additional Information:

nside / Library / python / 2.7 / site-packages

Inside there is the following:

 DateUtils-0.5.2-py2.7.egg README easy-install.pth nose-1.1.2-py2.7.egg pika-0.9.5-py2.7.egg pyzmq-2.2.0.1-py2.7-macosx-10.8-intel.egg tornado-2.3-py2.7.egg 

So, with this ML update, he deleted my numpy, ipython, etc. And he is no longer installed there, as was the case with the lion. How can I find where it is installed because it seems to work when I run the install_superpack shell script.

+4
source share
1 answer

As an update, I have never fixed this particular problem. However, I just downloaded iPython, SciPy, Matplotlib, etc. From Enthought. I answered the elses question on how to do this here:

How to check if IPython is installed on my computer and what is the sequence for installing these libraries?

0
source

Source: https://habr.com/ru/post/1432193/


All Articles