Can't install in Windows environment
Closed this issue · 1 comments
I downloaded the latest version (0.2.1) and ran "python setup.py install" but encountered an error, which I will paste below. I don't know if this is a true bug or a mis-configuration of my system, but I found no record online of anyone else having this issue.
running install
running bdist_egg
running egg_info
writing timelib.egg-info\PKG-INFO
writing top-level names to timelib.egg-info\top_level.txt
writing dependency_links to timelib.egg-info\dependency_links.txt
reading manifest file 'timelib.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'timelib.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_ext
building 'timelib' extension
c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -I. -Iext-date-lib -IC:\Python27\include -IC:\Python27\PC /Tcext -date-lib/astro.c /Fobuild\temp.win32-2.7\Release\ext-date-lib/astro.obj astro.c
c:\users\desktop\timelib-0.2.1\ext-date-lib\timelib_structs.h(61) : fatal error C1083: Cannot open include file: 'strings.h': No such file or directory
error: command '"c:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status 2
you're lucky. I had to boot my windows vmware today.
The following change should fix that issue:
http://github.com/schmir/timelib/commit/026142701da1ecae2dfc827200360ed1976c82a8