473,386 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Python 2.4 Tix failing on Windows XP

Hello,

I've just installed (accepted all installation defaults) Python 2.4 (final)
on my Microsoft Windows XP (home edition - service pack 2) computer, and I
am experiencing the following behavior regarding Tix:
import sys
sys.version '2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)]' import Tix
root = Tix.Tk() Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python24\lib\lib-tk\Tix.py", line 210, in __init__
self.tk.eval('package require Tix')
TclError: couldn't load library "tix8184.dll": this library or a dependent
library could not be found in library path import os
os.environ['TIX_LIBRARY'] 'C:\\Python24\\tcl\\tix8.1'

"tix8184.dll" is definitely not in the 'C:\Python24\tcl\tix8.1' folder; its
in the 'C:\Python24\DLLs' folder. I placed a copy of "tix8184.dll" in the
'C:\Python24\tcl\tix8.1' folder, but I still get the same error.

I next tried:
os.environ['TIX_LIBRARY'] = 'C:\\Python24\\DLLs'


but I still get the same error.

Could someone tell me what I am doing incorrectly?

Thanks.
Jul 18 '05 #1
3 1776
j vickroy wrote:
Could someone tell me what I am doing incorrectly?


All I can tell you is that I have the exact same problem (which I did
not have with 2.3).
Not much of a help, I know...
Jul 18 '05 #2
Ok, problem solved, more or less. What happens is that Tcl isnt looking
for the Tix DLL along the python path nor is it looking along the
os.environ path, but instead it just checks the normal Windows path. So,
if your add python24\DLLs to your path the error is gone.

Strangely enough the whole problem only turns up inside PythonWin,
whereas if I try it from the command line everything works fine.

Michael
Jul 18 '05 #3
Ok, that indeed did work. Thanks for your help.
"Michael Auerswald" <ne**@pointedstick.de> wrote in message
news:cp*************@news.t-online.com...
Ok, problem solved, more or less. What happens is that Tcl isnt looking
for the Tix DLL along the python path nor is it looking along the
os.environ path, but instead it just checks the normal Windows path. So,
if your add python24\DLLs to your path the error is gone.

Strangely enough the whole problem only turns up inside PythonWin, whereas
if I try it from the command line everything works fine.

Michael

Jul 18 '05 #4

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

Similar topics

1
by: Mark Dufour | last post by:
>First the good news: ShedSkin (SS) more or less works on Windows. After >patching gc6.5 for MinGW, building it, and testing it on WinXP with >some succuess, and after patching my local copy of SS,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.