On 9/1/06, Kenny Ortmann <[EMAIL PROTECTED]> wrote: > hey guys i got the subversion from the site and I am trying to install it > on windows. > > I changed dir into the matplotlib dir that includes the setup.py file. > > run python setup.py install, and im getting a wierd error. i left the > topmost lines along with the error. has anyone seen anything like this > before? > > building 'matplotlib.enthought.traits.ctraits' extension > creating build\temp.win32-2.4\Release\lib > creating build\temp.win32-2.4\Release\lib\matplotlib > creating build\temp.win32-2.4\Release\lib\matplotlib\enthought > creating build\temp.win32-2.4\Release\lib\matplotlib\enthought\traits > C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c > /nologo /Ox > /MD /W3 /GX /DNDEBUG -Ic:\Python24\include -Ic:\Python24\PC > /Tclib/matplotlib/e > nthought/traits/ctraits.c > /Fobuild\temp.win32-2.4\Release\lib/matplotlib/enthoug > ht/traits/ctraits.obj > C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL > /nologo > /INCREMENTAL:NO /LIBPATH:c:\Python24\libs /LIBPATH:c:\Python24\PCBuild > /EXPORT: > initctraits > build\temp.win32-2.4\Release\lib/matplotlib/enthought/traits/ctraits > .obj /OUT:build\lib.win32-2.4\matplotlib\enthought\traits\ctraits.pyd > /IMPLIB:bu > ild\temp.win32-2.4\Release\lib/matplotlib/enthought/traits\ctraits.lib > building 'matplotlib.backends._tkagg' extension > C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe /c > /nologo /Ox > /MD /W3 /GX /DNDEBUG -Iwin32_static/include/tcl84 -I. -Isrc -Iswig > -Iagg23/incl > ude -I. -I. -Iwin32_static/include/tcl84\freetype2 -I.\freetype2 > -Isrc\freetype2 > -Iswig\freetype2 -Iagg23/include\freetype2 -I.\freetype2 -I.\freetype2 > -Ic:\Pyt > hon24\include -Ic:\Python24\PC /Tpsrc/_tkagg.cpp > /Fobuild\temp.win32-2.4\Release > \src/_tkagg.obj > _tkagg.cpp > src\_tkagg.cpp(28) : fatal error C1083: Cannot open include file: 'tk.h': > No suc > h file or directory > error: Command ""C:\Program Files\Microsoft Visual Studio .NET > 2003\Vc7\bin\cl.e > xe" /c /nologo /Ox /MD /W3 /GX /DNDEBUG -Iwin32_static/include/tcl84 -I. > -Isrc - > Iswig -Iagg23/include -I. -I. -Iwin32_static/include/tcl84\freetype2 > -I.\freetyp > e2 -Isrc\freetype2 -Iswig\freetype2 -Iagg23/include\freetype2 > -I.\freetype2 -I.\ > freetype2 -Ic:\Python24\include -Ic:\Python24\PC /Tpsrc/_tkagg.cpp > /Fobuild\temp > .win32-2.4\Release\src/_tkagg.obj" failed with exit status 2
You need to install the tcl/tk headers as Darren mentioned. I just install ActiveTcl and the build should pick up on it no problem. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users