python 2.7 - Problems with running f2py from terminal (Mac OSX) -


this may seem rather odd issue, have functional python numpy on mac, , numpy has f2py included in it. can access f2py importing explicitly on ipython window as

from numpy import f2py 

but cannot run f2py terminal. suggest do?

thanks

one way find f2py can import in ipython: after importing f2py in ipython, type f2py, , should show location of numpy installation. that, should able find f2py binary.

for example, within ipython, f2py in:

/opt/local/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/numpy/f2py/__init__.pyc 

from here, can see executable f2py in

/opt/local/library/frameworks/python.framework/versions/2.7/bin/f2py 

as johne said, perhaps have more 1 python environment, , 1 f2py in not in path?


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -