When I upgrade from 2.2.3 to 2.3 on windows, do I first uninstall 2.2.3?
-- Stephen 6 3241
Stephen Boulet <st*****@theboulets.net> writes: When I upgrade from 2.2.3 to 2.3 on windows, do I first uninstall 2.2.3?
If you want to, you can have both 2.2 and 2.3 installed, side-by-side.
If you want to replace 2.2, you should uninstall it first.
Regards,
Martin
Stephen Boulet wrote: When I upgrade from 2.2.3 to 2.3 on windows, do I first uninstall 2.2.3?
There's no need to.
-- Gerhard
In article <Td********************@speakeasy.net>,
Stephen Boulet <st*****@theboulets.net> wrote: I guess that I had in mind a move from 2.2.2 to 2.2.3. What's the rule for a minor upgrade like this?
Uninstall first.
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/
This is Python. We don't care much about theory, except where it intersects
with useful practice. --Aahz
On 30 Jul 2003 06:43:22 +0200, ma****@v.loewis.de (Martin v. =?iso-8859-15?q?L=F6wis?=) wrote: Stephen Boulet <st*****@theboulets.net> writes:
When I upgrade from 2.2.3 to 2.3 on windows, do I first uninstall 2.2.3?
If you want to, you can have both 2.2 and 2.3 installed, side-by-side. If you want to replace 2.2, you should uninstall it first.
How do I know what will happen to file extension associations and the system path search
that takes unadorned python and finds some/path/to/python23.exe?
And how does the old python22 find what it needs? Do I need to go through a .cmd file that
sets up its environment before running? How do I know everything it needs?
IOW, how do you set up a clean way to run both 2.2.3 and 2.3 "side by side" but separately,
with default "python" going to 2.3? I am being lazy in not reading the install docs yet,
but does it cover the question fully? If so, the answer to this post can just be "yes" ;-)
Regards,
Bengt Richter
"Bengt Richter" <bo**@oz.net> wrote in message
news:bg**********@216.39.172.122... On 30 Jul 2003 06:43:22 +0200, ma****@v.loewis.de (Martin v.
=?iso-8859-15?q?L=F6wis?=) wrote:Stephen Boulet <st*****@theboulets.net> writes:
When I upgrade from 2.2.3 to 2.3 on windows, do I first uninstall
2.2.3? If you want to, you can have both 2.2 and 2.3 installed, side-by-side. If you want to replace 2.2, you should uninstall it first. How do I know what will happen to file extension associations and the
system path search that takes unadorned python and finds some/path/to/python23.exe?
And how does the old python22 find what it needs? Do I need to go through
a .cmd file that sets up its environment before running? How do I know everything it needs?
IOW, how do you set up a clean way to run both 2.2.3 and 2.3 "side by
side" but separately, with default "python" going to 2.3? I am being lazy in not reading the
install docs yet, but does it cover the question fully? If so, the answer to this post can
just be "yes" ;-)
As with most things having to do with installation, the answer is a bit
complicated. On Windows, Python keeps its information in separate
keys by major release, so there's a different key for Python 2.2 and Python
2.3. That's compiled into the executable, so anything that's in the registry
is kept nice and separate. So you can have two or more major releases
side by side. You can't have two minor releases, though, because they
use the same registry key.
The keys aren't secret, so any outboard programs that need a specific
version of Python can go right to it. Where the difficulty lies is that
other things, such as the system path for finding executables and the
file name associations don't have the same facility. So if I wanted to
just be able to doubleclick on a .py or .pyc file and have it find the
correct executable, I'm out of luck unless I do some arcane system
programming. (That is, associate them with a program that figures
out from the directories or the "magic number" which version of
python is wanted, and then invokes it.)
If all you want is for the default to be 2.3, then just make certain
that the system path goes to the proper directory. All your
file name associations will tag along as long as the command
keys didn't include full paths.
And I find that .cmd files are my friends. I use them to set the
Pythonpath so I don't have to figure out a path that's going to
work for everything, now and forever. And they work very
well for drag and drop targets for those little utilities that operate
on one file...
John Roth Regards, Bengt Richter
Stephen> I guess that I had in mind a move from 2.2.2 to 2.2.3. What's
Stephen> the rule for a minor upgrade like this?
I'd actually be more careful there than if I was just installing 2.3. I'd
uninstall 2.2.2, then install 2.2.3. I'd also rummage back through the
folders containing third-party stuff (stuff which winds up in site-packages)
and reexecute
python setup.py clean
python setup.py install
Skip This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Zachary |
last post by:
Hello,
I've heard some rumors about Python 3.0. I am wondering what sort of
upgrading I'll have to do, as I have also heard people on this group asking
us to use certain modules or operators or...
|
by: Robert Oschler |
last post by:
Hello,
(Note: if there is a FAQ that covers this issue just give me the URL. I
checked python.org's General and Windows FAQ's and didn't see anything.)
I am about to upgrade from Python 2.2...
|
by: Michael Foord |
last post by:
http://www.voidspace.org.uk/python/articles/upgrading_python.html
I've been looking at whether to upgrade immediately from Python 2.3 to
Python 2.4 or postpone it. This is my first `major version...
|
by: frr |
last post by:
Hi,
After upgrading to 2.4 (from 2.3), I'm getting a weird syntax error:
>>> import themes
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "themes.py", line...
|
by: malv |
last post by:
Upgrading Class Instances Automatically on Reload:
Recipe 20.15 out of Python Cookbook #2.
Did anybody get this recipe to work?
The original example by Michael Hudson works without problems....
|
by: bruce |
last post by:
hi.
i'min a situation where i might need to upgrade python. i have the current
version of python for FC3. i might need to have the version for FC4. i built
the version that's on FC4 from the...
|
by: levander |
last post by:
I've been using pdb under emacs on an Ubuntu box to debug python
programs. I just upgraded from Ubuntu Edgy to Feisty and this combo
has stopped working. Python is at 2.5.1 now, and emacs is at...
|
by: skip |
last post by:
At work I need to upgrade numpy, scipy, ipython and matplotlib. They need
to be done all at once. All have distutils setups but the new versions and
the old versions are incompatible with one...
|
by: Keith Hughitt |
last post by:
Hi all,
I've run into a strange error while trying to store some PNG images in
a MySQL database using MySQLdb. When I try to insert smaller images (<
64kb or so) everything seems to work fine....
|
by: sixtyfootersdude |
last post by:
Hey,
My prof just out of the blue decided that we would teach ourselves python over the weekend.
I am running Mac OS X Version 10.4.10 and Python version 2.3.5 came pre-installed on my...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
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...
|
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...
| |