[Numpy-discussion] f2py compiled module not found by python

Pearu Peterson pearu at cens.ioc.ee
Wed Feb 6 13:58:07 EST 2008


On Wed, February 6, 2008 8:35 pm, Chris wrote:
> Hello,
>
> I'm trying to build a package on Linux (Ubuntu) that contains a fortran
> module, built using f2py. However, despite the module building and
> installing without error, python cannot seem to see it (see log below).
> This works fine on Windows and Mac; the problem only seems to
> happen on Linux:

Can you import flib module directly? That is, what happens if you
execute
  cd .../PyMC
  PYTHONPATH=. python -c 'import flib'
?
Pearu





More information about the NumPy-Discussion mailing list