I got : Arths-MacBook-Pro:~ arthbous$ python2.6 ActivePython 2.6.2.2 (ActiveState Software Inc.) based on Python 2.6.2 (r262:71600, Apr 24 2009, 21:40:46) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.executable '/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python'
This is weird because when I compiled numpy, I used "/usr/local/bin/python2.6 setup.py build" and "sudo /usr/local/bin/python2.6 setup.py install". How can I get rid of all the other python ? - Arthur On Fri, Sep 25, 2009 at 1:57 PM, Robert Kern <[email protected]> wrote: > On Fri, Sep 25, 2009 at 12:55, Arthur Bousquet <[email protected]> > wrote: > > The first line of /usr/local/f2py2.6 is : > > > > #!/usr/bin/env python2.6 > > # See http://cens.ioc.ee/projects/f2py2e/ > > And exactly which python2.6 executable do you get when you type > > $ python 2.6 > > ? Try printing sys.executable: > > $ python > Python 2.5.4 (r254:67916, Apr 23 2009, 14:49:51) > [GCC 4.0.1 (Apple Inc. build 5465)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import sys > >>> sys.executable > > '/Library/Frameworks/Python.framework/Versions/2.5/Resources/PythonApp.app/Contents/MacOS/PythonApp' > > -- > 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 > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
