[SciPy-user] weave problems, weave_imp.o no such file or directory

Daniel Wheeler daniel.wheeler2 at gmail.com
Mon Dec 1 18:53:36 EST 2008


I have a similar issue when using pythonxy (2.1.4) (python version
2.5.2)  and windows. The following

    import scipy
    print 'scipy.__version__',scipy.__version__
    print 'scipy.__path__',scipy.__path__
    from scipy import weave

    weave.inline('printf("hello world");', verbose=2)

returns

    scipy.__version__ 0.6.0
    scipy.__path__ ['C:\\Program
Files\\pythonxy\\python\\lib\\site-packages\\scipy']
    <weave: compiling>
    kw {'extra_link_args': [], 'define_macros': [], 'libraries': [],
'sources': ['C:\\Program
Files\\pythonxy\\python\\lib\\site-packages\\scipy\\weave\\scxx\\weave_imp.cpp'],
'extra_compile_args': [], 'library_dirs': [], 'include_dirs':
['C:\\Program Files\\pythonxy\\python\\lib\\site-packages\\scipy\\weave',
'C:\\Program Files\\pythonxy\\python\\lib\\site-packages\\scipy\\weave\\scxx']}
    running build_ext
    running build_src
    building extension "sc_5c84b188757e017720cf8a0a3b0555304" sources
    customize Mingw32CCompiler
    customize Mingw32CCompiler using build_ext
    customize Mingw32CCompiler
    customize Mingw32CCompiler using build_ext
    building 'sc_5c84b188757e017720cf8a0a3b0555304' extension
    compiling C++ sources
    C compiler: g++ -mno-cygwin -O2 -Wall

    compile options: '-I"C:\Program
Files\pythonxy\python\lib\site-packages\scipy\weave" -I"C:\Program
Files\pythonxy\python\lib\site-packages\scipy\weave\scxx"
-I"C:\Program Files\pythonxy\python\lib\site-packages\numpy\core\include"
-I"C:\Program Files\pythonxy\python\include" -I"C:\Program
Files\pythonxy\python\PC" -c'
    g++ -mno-cygwin -O2 -Wall -I"C:\Program
Files\pythonxy\python\lib\site-packages\scipy\weave" -  I"C:\Program
Files\pythonxy\python\lib\site-packages\scipy\weave\scxx"
-I"C:\Program Files\pythonxy\python\lib\site-packages\numpy\core\include"
-I"C:\Program Files\pythonxy\python\include" -I"C:\Program
Files\pythonxy\python\PC" -c
c:\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.cpp
-o c:\docume~1\wd15\locals~1\temp\wd15\python25_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\Release\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.o
    Found executable C:\MinGW\bin\g++.exe
    g++ -mno-cygwin -shared
c:\docume~1\wd15\locals~1\temp\wd15\python25_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\Release\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.o
c:\docume~1\wd15\locals~1\temp\wd15\python25_intermediate\compiler_08edc7e348e1c33f63a33ab500aef08e\Release\program
files\pythonxy\python\lib\site-packages\scipy\weave\scxx\weave_imp.o
-L"C:\Program Files\pythonxy\python\libs" -L"C:\Program
Files\pythonxy\python\PCBuild" -lpython25 -lmsvcr71 -o
c:\docume~1\wd15\locals~1\temp\wd15\python25_compiled\sc_5c84b188757e017720cf8a0a3b0555304.pyd
    g++.exe: files\pythonxy\python\lib\site-packages\scipy\weave\scxx\weave_imp.o:
No such file or directory

On Mon, Jul 7, 2008 at 2:31 PM, Søren Nielsen
<soren.skou.nielsen at gmail.com> wrote:
> I have a space in my path too... So thats why it works on some computers and
> not on others...

-- 
Daniel Wheeler



More information about the SciPy-User mailing list