[SciPy-user] numpy and f2py

Ryan Krauss ryanlists at gmail.com
Mon Jan 30 23:41:37 CST 2006

Thanks for your willingness to help Robert, but I think I have it all
working.  It was actually pretty straightforward, I just happen to
have an old .so file in my test directory that I didn't realize my
script was picking up that was causing me trouble.

I basically deleted the f2py2e directory from my site-packages dir and
deleted the f2py executable from /usr/bin and then reinstalled numpy
and everything is working well.  I probably didn't need to manually
delete the executable as it was probably being over written.
I checked my version and didn't know if this
ryan at ubuntu:~$ f2py -v
was old or new.  But apparently it is new (when I deleted it and then
reinstalled, it came back with this same version).

So, near as I can tell, everything is working fine for me and I am now
running the new scipy/numpy with weave and f2py both happy.

Thanks for your help,


On 1/31/06, Robert Kern <robert.kern at gmail.com> wrote:
> Ryan Krauss wrote:
> > Is there documentation on this?
> Not as such, no. The documentation inside the package is somewhat out-of-date
> especially with regards to installation of f2py.
> > Do I uninstall the command line
> > executable f2py as well or just the python package?
> Yes. The script won't be of any use to you once you remove the package.
> But have you determined that you were actually using the old f2py with numpy
> (which doesn't work, but I'm not sure if it would fail the way you said)? If you
> could give a small, self-contained example that exhibits the problem, I'd be
> happy to try to find what's wrong.
> --
> Robert Kern
> robert.kern at gmail.com
> "In the fields of hell where the grass grows high
>  Are the graves of dreams allowed to die."
>   -- Richard Harter
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list