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

2008-02-07 Thread Lisandro Dalcin
Unless you try to run it as root, it will not work. Your file permissions are a mess. Please do the following (as root or via sudo) and try again $ chmod 755 /flib.so On 2/6/08, Chris <[EMAIL PROTECTED]> wrote: > Pearu Peterson cens.ioc.ee> writes: > > > This works fine on Windows and Mac; the

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

2008-02-06 Thread Chris
Pearu Peterson cens.ioc.ee> writes: > > 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' It gives a "no module named flib" er

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

2008-02-06 Thread Pearu Peterson
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 Win

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

2008-02-06 Thread Chris
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: