473,513 Members | 2,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing 2.5 with 2.4?

Hi all. Just curious, before I do it myself, about the best way to
install 2.5 if it's the only version I want to use. Should I uninstall
2.4 first? Does 2.5 replace 2.4? I doubt the latter, but if I install
2.5, does that mean I need to reinstall all the extensions I had for 2.4
again, or does 2.5 detect them somehow?

Thanks,
John
Sep 19 '06 #1
8 1292
John Salerno wrote:
Hi all. Just curious, before I do it myself, about the best way to
install 2.5 if it's the only version I want to use. Should I uninstall
2.4 first?
if you don't plan to use it anymore, yes.
Does 2.5 replace 2.4?
no.
I doubt the latter, but if I install 2.5, does that mean I need to
reinstall all the extensions I had for 2.4 again
yes.
does 2.5 detect them somehow?
no. extensions built for 2.5 are, in general, not compatible with
extensions built for 2.4.

</F>

Sep 19 '06 #2
John Salerno wrote:
Hi all. Just curious, before I do it myself, about the best way to
install 2.5 if it's the only version I want to use. Should I uninstall
2.4 first? Does 2.5 replace 2.4? I doubt the latter, but if I install
2.5, does that mean I need to reinstall all the extensions I had for 2.4
again, or does 2.5 detect them somehow?
Without an OS given, difficult answer. Generally, you can assume that there
is no need to ditch one version because you use another, they don't
interfer with each other. Only which one is perceived as "current" might
change and alter some behavior.

However, you have to install all extensions again, that is for sure. And
most probably some of them won't work so far, as they might need some
modification or at least time to make them available as binary.

Diez
Sep 19 '06 #3
Diez B. Roggisch wrote:
John Salerno wrote:
>Hi all. Just curious, before I do it myself, about the best way to
install 2.5 if it's the only version I want to use. Should I uninstall
2.4 first? Does 2.5 replace 2.4? I doubt the latter, but if I install
2.5, does that mean I need to reinstall all the extensions I had for 2.4
again, or does 2.5 detect them somehow?

Without an OS given, difficult answer. Generally, you can assume that there
is no need to ditch one version because you use another, they don't
interfer with each other. Only which one is perceived as "current" might
change and alter some behavior.

However, you have to install all extensions again, that is for sure. And
most probably some of them won't work so far, as they might need some
modification or at least time to make them available as binary.

Diez
Thanks for the answers guys. I'm using WinXP. I noticed that when I
installed 2.5rc2, it wasn't automatically assigned as the default
version of Python. I wasn't sure if this was just because it was an RC,
or maybe I have to manually make 2.5 the default. But I will uninstall
2.4 first anyway, so it shouldn't matter.

Can't wait to play around with it! :)
Sep 19 '06 #4

John Salerno wrote:
Diez B. Roggisch wrote:
John Salerno wrote:
Hi all. Just curious, before I do it myself, about the best way to
install 2.5 if it's the only version I want to use. Should I uninstall
2.4 first? Does 2.5 replace 2.4? I doubt the latter, but if I install
2.5, does that mean I need to reinstall all the extensions I had for 2.4
again, or does 2.5 detect them somehow?
Without an OS given, difficult answer. Generally, you can assume that there
is no need to ditch one version because you use another, they don't
interfer with each other. Only which one is perceived as "current" might
change and alter some behavior.

However, you have to install all extensions again, that is for sure. And
most probably some of them won't work so far, as they might need some
modification or at least time to make them available as binary.

Diez

Thanks for the answers guys. I'm using WinXP. I noticed that when I
installed 2.5rc2, it wasn't automatically assigned as the default
version of Python. I wasn't sure if this was just because it was an RC,
or maybe I have to manually make 2.5 the default. But I will uninstall
2.4 first anyway, so it shouldn't matter.
1. You need to set your path manually. A BAT file called pypath.bat
placed somewhere on your PATH and containing:
path c:\python%1;c:\python%1\scripts;%path%
might come in handy. Warning: this is best used once each time you open
up a command window; it's cumulative (Windows is not smart enough to
remove duplicate entries) and there is a an upper limit (I believe) on
the size of the PATH.
2. Re-installing purely-Python packages is highly desirable -- don't
just copy existing files from 2.4.
3. Re-installing packages with a binary component (.pyd) on Windows is
*essential* -- they won't work on a Python version other than the one
whose libs they were linked against.

I'd suggest that you uninstall 2.4 later if at all. Ensure that you
have got all the extensions you want/need for 2.5 before you burn your
boats. As Diez says in effect, there is no guarantee that any
particular extension is available for 2.5 on Windows right now.

Cheers,
John

Sep 19 '06 #5
John Machin wrote:
I'd suggest that you uninstall 2.4 later if at all. Ensure that you
have got all the extensions you want/need for 2.5 before you burn your
boats. As Diez says in effect, there is no guarantee that any
particular extension is available for 2.5 on Windows right now.
Thanks for the tips. As it turns out, all I really need for 2.4 is
mysqldb, but since I don't see it for 2.5 yet, I'm keeping 2.4.3 around
for now.
Sep 19 '06 #6
"John Machin" <sj******@lexicon.netwrote:
1. You need to set your path manually. A BAT file called pypath.bat
placed somewhere on your PATH and containing:
path c:\python%1;c:\python%1\scripts;%path%
might come in handy. Warning: this is best used once each time you open
up a command window; it's cumulative (Windows is not smart enough to
remove duplicate entries) and there is a an upper limit (I believe) on
the size of the PATH.
Windows is only smart enough to avoid duplicate entries if you tell it
to do that. e.g.

PATH c:\python25;c:\python25\scripts;%PATH:c:\python25; c:\python25\scripts;=%

will add the two Python 2.5 folders to the head of the path without
duplicating them.
Sep 20 '06 #7

Duncan Booth wrote:
"John Machin" <sj******@lexicon.netwrote:
1. You need to set your path manually. A BAT file called pypath.bat
placed somewhere on your PATH and containing:
path c:\python%1;c:\python%1\scripts;%path%
might come in handy. Warning: this is best used once each time you open
up a command window; it's cumulative (Windows is not smart enough to
remove duplicate entries) and there is a an upper limit (I believe) on
the size of the PATH.

Windows is only smart enough to avoid duplicate entries if you tell it
to do that. e.g.

PATH c:\python25;c:\python25\scripts;%PATH:c:\python25; c:\python25\scripts;=%

will add the two Python 2.5 folders to the head of the path without
duplicating them.
Wow .. I didn't know that! What's the syntax? Something like
%variablename[:oldtext=[newtext]]%
?
Where is this documented?

Sep 20 '06 #8
[Duncan Booth]
>Windows is only smart enough to avoid duplicate entries if you tell it
to do that. e.g.

PATH c:\python25;c:\python25\scripts;%PATH:c:\python25; c:\python25\scripts;=%

will add the two Python 2.5 folders to the head of the path without
duplicating them.
[John Machin[
Wow .. I didn't know that! What's the syntax? Something like
%variablename[:oldtext=[newtext]]%
?
Yup.
Where is this documented?
>From a DOS box (cmd.exe), enter
set /?
Sep 20 '06 #9

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

Similar topics

3
4907
by: Jean-Christian Imbeault | last post by:
I have a user account on a RH Linux machine but no root access. I succesfully installed apache 1.3 under my /home/ account but can't get PHP to install properly. I have done the following...
1
2392
by: SAP BASIS Consultant | last post by:
Hello, I am installing SAP R/3 on Win2000/SQL Server. There is a CD with the SQL Server RDBMS, as well as another one with SP 3A (Both are from SAP). According to the SAP installation manual,...
0
2793
by: Chris Halcrow | last post by:
Hi I've spent ALL DAY trying to re-install SQL Server 2000 on Windows XP. I continually get the error 'cannot configure server' just at the end of the installation. I've tried the following: ...
5
2708
by: Gerald Hernandez | last post by:
One of my development PC's died, and I need to have legacy VS and VS.Net installed at the same time. On the now dead PC, I had VS6 installed prior to installing VS.Net. This worked just fine. On...
0
2615
by: Steve | last post by:
I'm posting this message here, so that someone googling here will be able to find it. I was having problems installing cx_Oracle on Solaris. The build would fail with a message: > ld: fatal:...
3
4086
by: jaggi | last post by:
Hi all, I downloaded DB2 enterprise edition from partnerworld on ibm.com and unzipped and untarred it and copied it to CD and tried installing on AIX using SMIT. I am getting errors while...
3
1609
by: mariantrygg | last post by:
Hi I have an app that uses the a2K run-time. I have just discovered that installing this app breaks an access2003 installation causing the user to have to repair the installation using the...
13
8332
by: bjhartin | last post by:
All, I was working at a client's site when I installed Visual Basic 6 on a machine at their request. Existing applications on this machine had specified version 4.0 of the Jet OLEDB provider in...
7
2901
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
11
5666
by: tshad | last post by:
I have a small Windows Service program that just has a timer on it and it built fine. I try to install it using InstallUtil and I get the following message: ...
0
7157
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...
0
7521
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
5682
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,...
1
5084
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4745
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...
0
3232
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...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
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...

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.