How do I install f2py and all of its dependencies on Ubuntu 12.04 LTS?
Basically as per title, I've tried downloading the tarball and going from there but it always fails to register as installed. I have python 2.7 already but installing NumPy and SciPy the manual way so that f2py recognises it has failed me.
Is this a Sage question? Sage includes f2py, if I recall correctly, though I may not recall correctly.
Yes, as kcrisman says. If you have installed Sage, then I think while running it, you can just do `from numpy import f2py`.
I have tried typing, "%fortran" and it failed, what I want is to install f2py in such a way that Sage registers it. It doesn't come with the Sage package.
Ah, then we need a lot more information about your system. Remember, Sage includes everything except a few things. For instance, it won't include fortran itself on a recent Linux, so you could conceivably need that. I think it would be good if you edited your question to include all error messages and exactly what steps you followed; you shouldn't have needed to download Python or NumPy or anything, it's all *already in Sage*.
Also, I assume this is totally unrelated to http://trac.sagemath.org/sage_trac/ticket/13157, but putting that here just fyi.