468,249 Members | 1,492 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,249 developers. It's quick & easy.

python & Tkinter - library loading failure in linux

When I do 'import Tkinter', I get the
ImportError: "libtk.so.0: cannot open shared object file: No such file
or directory"

I work around the issue by creating a softlink libtk.so.0 in the current
directory to /usr/lib/libtk8.3.so and then updating env variable
LD_LIBRARY_PATH to the current directory. After this, Tkinter module
loads up fine.

Is there a better way to do this (from within the python script) ?

TIA

venky
Nov 30 '05 #1
0 818

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Jörg Maier | last post: by
4 posts views Thread by Logan | last post: by
2 posts views Thread by Sandeep Gupta | last post: by
14 posts views Thread by Jeffrey Barish | last post: by
reply views Thread by Samuel M. Smith | last post: by
3 posts views Thread by Thomas Ploch | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.