[Numpy-discussion] Broken numpy install

Ralf Gommers ralf.gommers at googlemail.com
Sat May 21 08:25:55 EDT 2011


On Sat, May 21, 2011 at 1:28 PM, Milan Mitrovic
<milan.v.mitrovic at gmail.com>wrote:

> I have the following:
>
> python-2.7.1-macosx10.3.dmg
> numpy-1.6.0-py2.7-python.org-macosx10.3.dmg
> scipy-0.9.0-py2.7-python.org-macosx10.3.dmg
> matplotlib-1.0.1-python.org-32bit-py2.7-macosx10.3.dmg
>
> I just installed in that order, and tried again... same error.
>
> That shouldn't be possible, maybe you're not running the
python/numpy/matplotlib you expect. In your interpreter, do:
>>> import os
>>> os.__file__
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.pyc'
>>> import numpy
>>> numpy.__file__
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.pyc'
>>> numpy.__version__
'1.6.0'

and the same for scipy/mpl. If that still gives you the same error, go into
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages,
remove numpy/, scipy/, matplotlib/ and reinstall.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20110521/2171c3c4/attachment.html>


More information about the NumPy-Discussion mailing list