[Numpy-discussion] f2py usage

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Sep 12 13:07:57 CDT 2008


Hi all,

How can I use f2py ?

I followed the instructions given at

http://www.scipy.org/F2py

To check if F2PY is installed correctly, I run

/usr/bin/f2py
Traceback (most recent call last):
   File "/usr/bin/f2py", line 20, in ?
     from numpy.f2py import main
ImportError: No module named numpy.f2py

Any pointer ?

nwagner@linux:~> /usr/bin/python
Python 2.4 (#1, Oct 13 2006, 17:13:31)
[GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more 
information.
>>> from numpy.f2py import main
>>>

Nils


More information about the Numpy-discussion mailing list