[Numpy-discussion] scipy_distutils.fcompiler

David Cournapeau cournape@gmail....
Tue Mar 5 10:24:31 CST 2013


On Tue, Mar 5, 2013 at 2:58 PM, Gergely Buday <gbuday@gmail.com> wrote:
> Hi there,
>
> I try to compile a program developed with scipy. It is installed on my
> Ubuntu 12.04 box but upon make I get:
>
> Traceback (most recent call last):
>   File "/usr/local/bin/f2py", line 4, in <module>
>     f2py2e.main()
>   File "/usr/local/lib/python2.7/dist-packages/f2py2e/f2py2e.py", line
> 677, in main
>     run_compile()
>   File "/usr/local/lib/python2.7/dist-packages/f2py2e/f2py2e.py", line
> 536, in run_compile
>     import scipy_distutils.fcompiler
> ImportError: No module named scipy_distutils.fcompiler
>

Looks like you're having an ancient f2py in there. You may want to use
the one included in numpy instead.

David


More information about the NumPy-Discussion mailing list