[Numpy-discussion] f2py errors: any help interpreting?

Mark Miller mark.miller@usu....
Fri May 23 16:00:36 CDT 2008


To anyone who can help:

I recently got around to installing numpy 1.04 over an older version (numpy
1.04dev3982) on a Windows Vista machine.  Since then, I have been unable to
compile some of my extensions using f2py.  I also tested a fresh install of
numpy 1.04 on a new XP machine that has never seen Python and am getting the
same messages.

Here's the relevant bits, I think.

        Wrote C/API module "pickparents" to file
"c:\users\mark\appdata\local\temp\tmpiuxw9j\src.win32-2.5/pickparentsmodule.c"
Traceback (most recent call last):
  File "C:\python25\scripts\f2py.py", line 26, in <module>
    main()
  File "C:\Python25\lib\site-packages\numpy\f2py\f2py2e.py", line 558, in
main
    run_compile()
  File "C:\Python25\lib\site-packages\numpy\f2py\f2py2e.py", line 545, in
run_compile
    setup(ext_modules = [ext])
  File "C:\Python25\lib\site-packages\numpy\distutils\core.py", line 176, in
setup
    return old_setup(**new_attr)
  File "C:\Python25\lib\distutils\core.py", line 151, in setup
    dist.run_commands()
  File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\distutils\command\build.py", line 112, in run
    self.run_command(cmd_name)
  File "C:\Python25\lib\distutils\cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "C:\Python25\lib\distutils\dist.py", line 994, in run_command
    cmd_obj.run()
  File "C:\Python25\lib\site-packages\numpy\distutils\command\build_src.py",
line 130, in run
    self.build_sources()
  File "C:\Python25\lib\site-packages\numpy\distutils\command\build_src.py",
line 147, in build_sources
    self.build_extension_sources(ext)
  File "C:\Python25\lib\site-packages\numpy\distutils\command\build_src.py",
line 256, in build_extension_sources
    sources = self.f2py_sources(sources, ext)
  File "C:\Python25\lib\site-packages\numpy\distutils\command\build_src.py",
line 513, in f2py_sources
    ['-m',ext_name]+f_sources)
  File "C:\Python25\lib\site-packages\numpy\f2py\f2py2e.py", line 367, in
run_main
    ret=buildmodules(postlist)
  File "C:\Python25\lib\site-packages\numpy\f2py\f2py2e.py", line 319, in
buildmodules
    dict_append(ret[mnames[i]],rules.buildmodule(modules[i],um))
  File "C:\Python25\lib\site-packages\numpy\f2py\rules.py", line 1222, in
buildmodule
    for l in '\n\n'.join(funcwrappers2)+'\n'.split('\n'):
TypeError: cannot concatenate 'str' and 'list' objects


Any thoughts? Please let me know if more information is needed to
troubleshoot.


-Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080523/80fd7885/attachment.html 


More information about the Numpy-discussion mailing list