473,832 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tkinter + Python 2.3b2 on WinXP


I've installed Python 2.3b2 on Windows XP (in
"e:\programming \Python2.3"). I also have an older ActivePython 2.2.2
distro on my C-drive and Ruby which apparently installs tcl as well. Now
I'm trying to run Idle and get this little beauty (similar for other
Tkinter apps):

=====

E:\Programming\ Python2.3\Lib\i dlelib>idle.py
Traceback (most recent call last):
File "E:\Programming \Python2.3\Lib\ idlelib\idle.py ", line 23, in ?
idlelib.PyShell .main()
File "E:\Programming \Python2.3\lib\ idlelib\PyShell .py", line
1253, in main
root = Tk(className="I dle")
File "E:\Programming \Python2.3\lib\ lib-tk\Tkinter.py", line 1562,
in __init__
self.tk = _tkinter.create (screenName, baseName, className)
_tkinter.TclErr or: Can't find a usable init.tcl in the following
directories:
{e:\programming \ruby\tcl\lib\t cl8.3;E:\Progra mming\Python2.3 \tcl\t-
k8.4} {e:\
programming\rub y\tcl\lib\tcl8. 3;E:\Programmin g\Python2.3\tcl \tk8.4}
{e:/programm
ing/ruby/tcl/lib/tcl8.3;E:Progra mming/Python2.3/tcl/tcl8.4}
E:/PROGRA~1/Python2.
3/lib/tcl8.4 E:/PROGRA~1/lib/tcl8.4 E:/lib/tcl8.4 E:/PROGRA~1/library
E:/library
E:/../tcl8.4.3/library

This probably means that Tcl wasn't installed properly.

=====

init.tcl is present in "E:\Programming \Python2.3\tcl\ tcl8.4", which is
also listed in the mumbo jumbo above. Idlefork worked OK on ActivePython
before I installed 2.3b2.

What should I do to make Tkinter work again?

Andrei

--
Contact info (decode with rot13): ce******@bcrenz nvy.pbz
Fcnzserr! Cyrnfr qb abg hfr va choyvp zrffntrf. V ernq gur yvfg, ab arrq gb PP.
Posted via http://dbforums.com
Jul 18 '05 #1
2 2494
Andrei <se*@my.signatu re.com> writes:
What should I do to make Tkinter work again?


Unset TCL_LIBRARY and TK_LIBRARY from your environment.

Regards,
Martin
Jul 18 '05 #2

Originally posted by Martin V. L?Wis
Andrei writes:
What should I do to make Tkinter work again?


Unset TCL_LIBRARY and TK_LIBRARY from your environment.

Regards,
Martin


Thanks, that did the trick.

--
Contact info (decode with rot13): ce******@bcrenz nvy.pbz
Fcnzserr! Cyrnfr qb abg hfr va choyvp zrffntrf. V ernq gur yvfg, ab arrq gb PP.
Posted via http://dbforums.com
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
639
by: Andrei | last post by:
I've installed Python 2.3b2 on Windows XP (in "e:\programming\Python2.3"). I also have an older ActivePython 2.2.2 distro on my C-drive and Ruby which apparently installs tcl as well. Now I'm trying to run Idle and get this little beauty (similar for other Tkinter apps): ===== E:\Programming\Python2.3\Lib\idlelib>idle.py Traceback (most recent call last):
0
2367
by: Adam | last post by:
Hi I had Ruby 1.6.8-8 for Windows installed on my WinXP Pro machine prior to installing Python 2.3. After installing Python 2.3, I tried to <----- screen output of python interactive command line -----> Python 2.3 (#46, Jul 29 2003, 18:54:32) on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from Tkinter import * >>> root = Tk()
3
7041
by: srijit | last post by:
Hello, Any idea - why the following code crashes on my Win 98 machine with Python 2.3? Everytime I run this code, I have to reboot my machine. I also have Win32all-157 installed. from Tkinter import * class App:
3
2339
by: Bob Greschke | last post by:
I have a program where the user pushes a button, a "starting" message is ..inserted to a text field with an associated scroll bar, a thread is started that inserts a "working..." message on to the end of the text field until stopped, or until the loop finishes. The loop sleeps for about 3 seconds every time through (I'm just prototyping at this point). The mainloop just waits for the user to hit the same button again which will set a flag...
0
1320
by: Bryan Olson | last post by:
I've run into a problem with Python/TkInter crashing, with an attempt to read illegal addresses, on Win on Win2000 and WinXP. With some web-searching, I found that people say not to manipulate TkInter from multiple threads, except that the call event_generate() is safe. I assume the call adds an event to Tk's queue, and later the thread running mainloop will() pick up the event. I tried to write a general-purpose thread-runner. In...
1
1835
by: jean-marc | last post by:
I read that Tkinter and Python IDEs (PythonWin and Idle at least) makes for a bad mix in execution mode because they're fighting for the event loop, but this mode is usefull to use the debugger. But to the point of breaking something elsewhere than in memory ??? (Shutting down and rebooting the computer doesn't resolve the problems... PythonWin becomes impossible to use if another window is open (pdf files, winAmp music, browser et...
4
1359
by: phil | last post by:
These work fine on Linux s.const = {} s.const = '%c' % (0xb0) s.const = '%c' % (0xf7) s.const = '%c' % (0xd8) On WinXP the symbols for division and angle work fine. But the symbol for degrees, a little circle, produces a vertical bar in Tkinter Text box or Canvas.
0
1549
by: wolfonenet | last post by:
Hi All, My setup is: WinXP Python 2.5.1 TKinter version: $Revision: 50704 $ Tcl: 8.4 Debugger: WinPdb
8
3292
by: karthikbalaguru | last post by:
Hi, One of my python program needs tkinter to be installed to run successfully. I am using Redhat 9.0 and hence tried installing by copying the tkinter-2.2.2-36.i386.rpm alone from the CD 3 to my pc. But, it is not getting installed and is failing by throwing the below errors. Should i need to configure / install any specific files for resolving this issue ?
3
3921
by: J-Burns | last post by:
Hello. Im a bit new to using Tkinter and im not a real pro in programming itself... :P. Need some help here. Problem 1: How do I make something appear on 2 separate windows using Tkinter? By this I mean that the format would be something like this: You have Page1 : This has 2-3 buttons on it. Clicking on each button opens up a new window respectively having
0
9796
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10500
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10543
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10213
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5624
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5789
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4422
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3078
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.