[SciPy-dev] problem installing weave under Win ME

Jean-Baptiste Richet - AREAS jb.richet at areas.asso.fr
Mon Sep 8 09:59:11 CDT 2003


weave could be highly usefull to me, but I can't have it work correctly 
on my PC, and I don't know what to do. Could you help me ?
I installed the latest zip package by "python setup.py install", on a 
python 2.3 installation (OS = Windows ME), and here is a result when 
trying it :
IDLE 1.0     
 >>> import weave
 >>> a = 123
 >>> weave.inline('printf("%d\\n",a);',['a'])
Exception exceptions.AttributeError: "DbfilenameShelf instance has no 
attribute 'writeback'" in
Traceback (most recent call last):
  File "<pyshell#2>", line 1, in -toplevel-
line 327, in inline
    auto_downcast = auto_downcast,
line 426, in compile_function
    verbose=verbose, **kw)
  File "C:\DEVELOPPEMENT\PYTHON23\Lib\site-packages\weave\ext_tools.py", 
line 349, in compile
    verbose = verbose, **kw)
"C:\DEVELOPPEMENT\PYTHON23\Lib\site-packages\weave\build_tools.py", line 
194, in build_extension
    setup(name = module_name, ext_modules = [ext],verbose=verb)
  File "c:\developpement\python23\lib\distutils\core.py", line 166, in setup
    raise SystemExit, "error: " + str(msg)
CompileError: error: command 'g++' failed with exit status 1
The gcc I use comes from MinGW and is version 3.2. I tried out gcc 2.95, 
and it was nearly the same (error at the same place, but 'cc' was 
blaimed). I tried cygwin, and it was not different. I tried python 2.2, 
and the result was similar.

Any idea ?
thanks a lot for your help.

Jean-Baptiste Richet
Association régionale pour l'étude
et l'amélioration des sols
2, avenue Foch
76460 Saint Valéry en Caux
tél : +33 2 35 97 25 12
fax : +33 2 35 97 25 73

More information about the Scipy-dev mailing list