installation

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

It is strongly discouraged to try to build matplotlib from source on windows.
Setting up your windows environment to build the source is difficult and time
consuming. Please use the windows installers at the download site instead.

Darren

···

On Friday 01 September 2006 5:19 pm, Kenny Ortmann wrote:

hey guys i got the subversion from the site and I am trying to install it
on windows.

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.

···

On 9/1/06, Kenny Ortmann <yairgo@...1205...> 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