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

Pearu Peterson pearu@cens.ioc...
Wed Feb 6 12:58:07 CST 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
  cd .../PyMC
  PYTHONPATH=. python -c 'import flib'

More information about the Numpy-discussion mailing list