[SciPy-user] F2PY: Problems after upgrading to Python2.6
Wed Nov 19 10:10:13 CST 2008
I wasn't aware the problems related to it affected f2py, but AFAIK
numny and scipy do not yet support the Python 2.6 release. You're best
off staying with Python 2.5.2 for the time being if you need to get
work done with numpy and scipy.
On Tue, Nov 4, 2008 at 9:45 AM, Benjamin Kern <email@example.com> wrote:
> i'm experiencing strange problems after upgrading to python2.6. I'm
> also using numpy-svn and scipy-svn. So here is the problem. When i try
> to wrap the following simple fortran code,
> C File hello.f
> subroutine foo (a)
> integer a
> print*, "Hello from Fortran!"
> print*, "a=",a
> I have problems executing this from python, i.e.
>>>> import hello
>>>> print hello.__doc__
> This module 'hello' is auto-generated with f2py (version:2_5968).
>>>> print hello.foo.__doc__
> foo - Function signature:
> Required arguments:
> a : input int
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> RuntimeError: more argument specifiers than keyword list entries
> (remaining format:'|:hello.foo')
> Thanks for the help in advance
> SciPy-user mailing list
More information about the SciPy-user