Re: Looking for help getting tkinter to work.
- From: Francesco Bochicchio <bieffe62@xxxxxxxxx>
- Date: Sun, 1 Nov 2009 06:27:23 -0800 (PST)
On Nov 1, 4:06 am, Shue Boks <shoebox56car...@xxxxxxxxx> wrote:
I tried to compile Python and Tcl/Tk on Linux using the following
files:
Python-3.1.1.tar.gz
tcl8.5.7-src.tar.gz
Cannot get tkinter to work after compiling & installing Tcl/Tk. I get
the following error after compiling Python:
"Python build finished, but the necessary bits to build these modules
were not found:
_tkinter
To find the necessary bits, look in setup.py in detect_modules() for
the module's name."
Are the above files the correct versions to get tkinter to work?
Thanks.
The version should be ok. I just compiled python3.1 against tcl/tk
8.5, only I used
the tcl/tk development packages coming with my distribution (Ubuntu).
I used
../configure --with-tk, so if you did not, try that first.
Did you run 'make install' during tcl/tk installation _before_ doing ./
configure in python source
directory?
If so, look where the library files ( e.g. libtk8.5.so ) and include
files (e.g tk.h ) have been placed
and check against the places where the function 'detect_tkinter' in
'setup.py' looks for them.
Ciao
-----
FB
.
- Follow-Ups:
- Re: Looking for help getting tkinter to work.
- From: Shue Boks
- Re: Looking for help getting tkinter to work.
- References:
- Looking for help getting tkinter to work.
- From: Shue Boks
- Looking for help getting tkinter to work.
- Prev by Date: Can I run a python program from within emacs?
- Next by Date: Re: How to import only one module in a package when the package __init__.py has already imports the modules?
- Previous by thread: Looking for help getting tkinter to work.
- Next by thread: Re: Looking for help getting tkinter to work.
- Index(es):
Relevant Pages
|