Newbie Error? Compiling _tkinter from Source on Win32
Chris Withers
chrisw at nipltd.com
Thu Feb 22 09:21:12 EST 2001
>From PCBuild/readme.txt:
> _tkinter
> Python wrapper for the Tk windowing system. Requires tcl832.exe from
> http://dev.scriptics.com/software/tcltk/downloadnow83.html
> Run the installer, forcing installation into dist\Tcl.
> Be sure to install everything, including the Tcl/Tk header files.
So I installed tcl832 into E:\Python-2.0\Tcl and then tried to use VC++ 6.0 to
build the _tkinter module, but I got:
> --------------------Configuration: _tkinter - Win32 Release--------------------
> Compiling...
> _tkinter.c
> E:\Python-2.0\Modules\_tkinter.c(44) : fatal error C1083: Cannot open include file: 'tcl.h': No such file or directory
> tkappinit.c
> E:\Python-2.0\Modules\tkappinit.c(15) : fatal error C1083: Cannot open include file: 'tcl.h': No such file or directory
> Error executing cl.exe.
>
> _tkinter.pyd - 2 error(s), 0 warning(s)
Any ideas what I'm doing wrong?
cheers,
Chris
More information about the Python-list
mailing list