[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


To check if F2PY is installed correctly, I run

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 
>>> from numpy.f2py import main


More information about the Numpy-discussion mailing list