-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hai, I could not install in Windows XP. Is this only for UNIX and Linux machines. I ran the following command.
python setup.py install
error:command 'gcc' failed with exit status 1.
Please let me know if there is a work around. Thx.
The Log file
Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.
C:\PYTHON26\PYDAS>python setup.py install
running install
running build
running build_py
running build_ext
building 'PyDAS.dassl' extension
C:\python26\pythonxy\mingw\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IPyDAS -IC:\P
ython26\lib\site-packages\numpy\core\include -IC:\Python26\include -IC:\Python26
\PC -c PyDAS\dassl.c -o build\temp.win32-2.6\Release\pydas\dassl.o
PyDAS\dassl.c: In function '__Pyx_RaiseArgtupleInvalid':
PyDAS\dassl.c:7023: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7023: warning: format '%s' expects type 'char *', but argument 5 h
as type 'Py_ssize_t'
PyDAS\dassl.c:7023: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7023: warning: too many arguments for format
PyDAS\dassl.c: In function '__Pyx_RaiseNeedMoreValuesError':
PyDAS\dassl.c:7696: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7696: warning: format '%s' expects type 'char *', but argument 3 h
as type 'Py_ssize_t'
PyDAS\dassl.c:7696: warning: too many arguments for format
PyDAS\dassl.c: In function '__Pyx_RaiseTooManyValuesError':
PyDAS\dassl.c:7704: warning: unknown conversion type character 'z' in format
PyDAS\dassl.c:7704: warning: too many arguments for format
PyDAS\dassl.c: At top level:
C:\Python26\lib\site-packages\numpy\core\include/numpy/__multiarray_api.h:1187:
warning: '_import_array' defined but not used
C:\Python26\lib\site-packages\numpy\core\include/numpy/__ufunc_api.h:196: warnin
g: '_import_umath' defined but not used
writing build\temp.win32-2.6\Release\pydas\dassl.def
C:\python26\pythonxy\mingw\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2
.6\Release\pydas\dassl.o build\temp.win32-2.6\Release\pydas\dassl.def -Ldassl -L
C:\Python26\libs -LC:\Python26\PCbuild -lgfortran -lddassl -lpython26 -lmsvcr90
-o build\lib.win32-2.6\PyDAS\dassl.pyd
c:/python26/pythonxy/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/
ld.exe: cannot find -lddassl
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
C:\PYTHON26\PYDAS>