[Numpy-discussion] Path to numpy installation

Juanjo Gomez Navarro juanjo.gomeznavarro@gmail....
Tue Nov 2 03:31:50 CDT 2010


 Ok, so in your opinion I have two independent python installations? That's
possible... The problem is that I want to use ipython, and this interpreter
seems to take the wrong version by default...

Do you think it is safe just to delete the folder
/System/Library/Frameworks/Python.framework to «uninstall» the wrong
version?



2010/11/1 Robert Kern <robert.kern@gmail.com>

> On Mon, Nov 1, 2010 at 12:35, Juanjo Gomez Navarro
> <juanjo.gomeznavarro@gmail.com> wrote:
> > Hi, I have just updated my old version of numpy 1.01 to the version 1.5
> in
> > my Mac. The problem is that the system does not seem to recognize the new
> > version.
> > When I type print numpy.__path__ I get
> >
> /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/numpy
> > But the new version I have just installed is in
> >
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/numpy
> > I don't know
> >
> how to change the path of the installation, or how to say python to search numpy in the new path
> > Any idea???
>
> When you run "python", apparently you are picking up the system's
> Python executable in /System/Library, not the other Python interpreter
> that you installed under /Library. You need to adjust your $PATH
> environment variable to put
> /Library/Frameworks/Python.framework/Versions/Current/bin before
> /usr/bin. Then when you type "python", you will get this installation
> of Python and all of its libraries.
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless
> enigma that is made terrible by our own mad attempt to interpret it as
> though it had an underlying truth."
>   -- Umberto Eco
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>



-- 
Juan José Gómez Navarro

Departamento de Física
Centro de Investigacion en Óptica y Nanofísica (CIOyN)
Universidad de Murcia
Campus Espinardo
E-30100 Murcia
España

Tel : +34 968 398552
Fax : +34 968 39 8568
Email: juanjo.gomeznavarro@gmail.com, jjgomeznavarro@um.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20101102/029fb2ac/attachment.html 


More information about the NumPy-Discussion mailing list