[Numpy-discussion] f2py usage

Nils Wagner nwagner at iam.uni-stuttgart.de
Fri Sep 12 14:07:57 EDT 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 at 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