[AstroPy] pywcs 1.10-4.7 install failure on Microsoft Windows

Jim Vickroy jim.vickroy at noaa.gov
Thu Dec 22 18:34:59 EST 2011


My Python version is: '2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC
v.1500 32 bit (Intel)]' and numpy.__version__ is: '1.6.1'

Here is the output from my installation attempt:

C:\Documents and Settings\jim.vickroy\My
Documents\$downloads\languages\Python\pywcs\pywcs-1.10-4.7>setup.py install
running install
running build
running build_py
creating build
creating build\lib.win32-2.6
creating build\lib.win32-2.6\pywcs
copying lib\pywcs.py -> build\lib.win32-2.6\pywcs
copying lib\svn_version.py -> build\lib.win32-2.6\pywcs
copying lib\_docutil.py -> build\lib.win32-2.6\pywcs
copying lib\__init__.py -> build\lib.win32-2.6\pywcs
creating build\lib.win32-2.6\pywcs\tests
copying lib\tests\test.py -> build\lib.win32-2.6\pywcs\tests
copying lib\tests\__init__.py -> build\lib.win32-2.6\pywcs\tests
running build_ext
building 'pywcs._pywcs' extension
creating build\temp.win32-2.6
creating build\temp.win32-2.6\Release
creating build\temp.win32-2.6\Release\wcslib
creating build\temp.win32-2.6\Release\wcslib\C
creating build\temp.win32-2.6\Release\wcslib\C\flexed
creating build\temp.win32-2.6\Release\src
c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox
/MD /W3 /GS- /DNDEBUG -DECHO -DWCSTRIG_MACRO -DPYWCS_BUILD -D_GNU_SOURCE
-DNDEBUG -DYY_NO_UNISTD_H -D_CRT_SECURE_NO_WARNINGS -UDEBUG
-IC:\Python26\lib\site-
packages\numpy\core\include -I.\wcslib\C -Iwcslib\C -I.\src
-IC:\Python26\include -IC:\Python26\PC /Tcwcslib\C\flexed/wcsbth.c
/Fobuild\temp.win32-2.6\Release\wcslib\C\flexed/wcsbth.obj
wcsbth.c
.\wcslib\C\wcs.h(1396) : warning C4030: first formal parameter list longer
than the second list
.\wcslib\C\wcs.h(1396) : warning C4028: formal parameter 1 different from
declaration
.\wcslib\C\wcs.h(1396) : error C2040: 'wcsset' : 'int (wcsprm *)' differs
in levels of indirection from 'int (wcsprm *)'
error: command '"c:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\cl.exe"' failed with exit status 2

C:\Documents and Settings\jim.vickroy\My
Documents\$downloads\languages\Python\pywcs-1.10-4.7>


Thanks,
-- jv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20111222/7be4dc28/attachment.html>


More information about the AstroPy mailing list