[Numpy-discussion] F2PY error : ... on platform 'posix' with 'gcc' compiler

Robert Kern robert.kern at gmail.com
Fri Sep 25 13:57:55 EDT 2009


On Fri, Sep 25, 2009 at 12:55, Arthur Bousquet <arthbous at indiana.edu> 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



More information about the NumPy-Discussion mailing list