473,400 Members | 2,145 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,400 software developers and data experts.

Python 2.4.2 to 2.4.3 transition issue

OS: Windows XP + SP1

On this particular box, I hadn't moved to 2.4.3 yet.
So, earlier today, I uninstalled Python2.4.2 and installed 2.4.3 using
the .msi installer.

It seems though everything looked great, that when I invoke 'python'
from the command line, I get Python2.4.2 (as the header states),
instead of 2.4.3.

I looked at the registry and at the PATH variables of both system and
current user, but they are just stating 'C:\Python24\'.

When I explicitly call C:\Python24\python.exe though, 2.4.3 comes up.

Any ideas what seems to be the problem here?

May 4 '06 #1
2 1151
Panos Laganakos wrote:
OS: Windows XP + SP1

On this particular box, I hadn't moved to 2.4.3 yet.
So, earlier today, I uninstalled Python2.4.2 and installed 2.4.3 using
the .msi installer.

It seems though everything looked great, that when I invoke 'python'
from the command line, I get Python2.4.2 (as the header states),
instead of 2.4.3.

I looked at the registry and at the PATH variables of both system and
current user, but they are just stating 'C:\Python24\'.

When I explicitly call C:\Python24\python.exe though, 2.4.3 comes up.

Any ideas what seems to be the problem here?


in your python 2.4.2 interpreter, what does
import sys
sys.executable


say ?

if you do a global search for "python24.dll", how many instances do
you find ?

</F>

May 4 '06 #2
Heh, Frederic,
It seems that its Lilypond's (www.lilypond.org) fault.

It registered its bin directory in the PATH variable, which seems to
contain a python.exe too.
So the result of:
import sys; sys.executable

'D:\\Program Files\\LilyPond\\usr\\bin\\python.exe'

As for the instances of python24.dll, there are two:
one in system32 and one in inkscape's directory.

I 'fixed' it, by defining python's directory ahead of lilypond's. Now
the right executable is called.

Is there any other way instead of positioning in the PATH variable?

May 4 '06 #3

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

Similar topics

0
by: Cameron Laird | last post by:
QOTW: "In the context of storage, there are three types of applications ...: relational databases, files and objects such as photographs, and system backups that have to be easy to retrieve." ...
41
by: Petr Jakes | last post by:
Hello, I am trying to study/understand OOP principles using Python. I have found following code http://tinyurl.com/a4zkn about FSM (finite state machine) on this list, which looks quite useful for...
17
by: seb.haase | last post by:
Hi, Is it true that that "Python 3000" is dead ? Honestly I think that e.g. changing 5/2 to be 2.5 (instead of 2) would just break to much code :-( On the otherhand I'm using Python as "Matlab...
17
by: ToddLMorgan | last post by:
I'm just starting out with python, after having a long history with Java. I was wondering if there were any resources or tips from anyone out there in Python-land that can help me make the...
158
by: Giovanni Bajo | last post by:
Hello, I just read this mail by Brett Cannon: http://mail.python.org/pipermail/python-dev/2006-October/069139.html where the "PSF infrastracture committee", after weeks of evaluation, recommends...
6
by: nsjmetzger | last post by:
I have a script that runs fine in Windows 2003 (32-bit). It basically calls the Windows defrag command. When I try the exact same code on Windows 2003 (64-bit) I get the following message: ...
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?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.