473,320 Members | 1,867 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,320 software developers and data experts.

install multiple versions of activepython

Is it possible to install multiple versions of ActivePython on the same
machine?

Many modules which used to work with Python 2.2 now don't on 2.3. I am
using some 2.3 features but lots of programs that used to work, don't
anymore. This is especially true with modules that expose their libraries
as DLLs. Has backward compatibility been a nagging problem with Python?

Please feel free to chide me if this is a no-brainer question.

Hoang Do
http://jotsite.com
Jul 18 '05 #1
4 2126

"Hoang" <tr@jotsite.com> wrote in message
news:zg*******************@newssvr25.news.prodigy. com...
Many modules which used to work with Python 2.2 now don't on 2.3. I am using some 2.3 features but lots of programs that used to work, don't anymore. This is especially true with modules that expose their libraries as DLLs. Has backward compatibility been a

nagging problem with Python?

99+% of Python code that works properly with 2.2
(without depending on a bug) should work with 2.3.
There were very few (and mostly esoteric) semantic
changes. New builtins and modules should be
masked by existing items with the same name.

Binary extension modules are a different matter,
not because C has changed but because binary
extensions have to be compiled to match a
particular binary (at least for Windows, don't ask
me why). *This* is a nagging problem, but not one
with Python per se.

Terry J. Reedy

Jul 18 '05 #2
> Binary extension modules are a different matter,

exactly, I was using Audiere and it worked with 2.2. Since the upgrade,
I've been unable to use it until the Audiere project updates their binaries.
So I was wondering if it was possible to keep both ActivePython versions
(2.2 and 2.3) installed under Windows....

anyone else run into such a need?

Hoang Do

Jul 18 '05 #3
[Hoang wrote]
Is it possible to install multiple versions of ActivePython on the same
machine?

Many modules which used to work with Python 2.2 now don't on 2.3. I am
using some 2.3 features but lots of programs that used to work, don't
anymore. This is especially true with modules that expose their libraries
as DLLs. Has backward compatibility been a nagging problem with Python?

Please feel free to chide me if this is a no-brainer question.


As "P Gentry" said, yes you can have ActivePython 2.2 and 2.3 installed
side-by-side. One subtlety: Windows file associations (for .py, .pyc,
..pyo, .pyw, .pys) will generally be to the one you installed last. If
you want to change that you can use run the ActivePython "repair"
functionality to change the file associations to that one.

You may need to manually tweak your PATH to get the installation you
want first on your PATH.

Cheers,
Trent

--
Trent Mick
Tr****@ActiveState.com

Jul 18 '05 #4
"Hoang" <tr@jotsite.com> wrote in message news:<5l******************@newssvr25.news.prodigy. com>...
Binary extension modules are a different matter,


exactly, I was using Audiere and it worked with 2.2. Since the upgrade,
I've been unable to use it until the Audiere project updates their binaries.
So I was wondering if it was possible to keep both ActivePython versions
(2.2 and 2.3) installed under Windows....

anyone else run into such a need?

Hoang Do


Yes, it's possible to have two versions on disk, but best to use only
one at a time, unless you know it's OK.

Store them in separate directories trees, one in your path that you
"normally" use and create a shortcut/alias/exported enviroment
variable -- whichever makes the most natural sense for the way you use
the different versions.

If only a few programs _need_ the older version, load the older
version with the approprate file as an arg using above method (if that
is possible) -- one for each program.

HTH,
prg
above email disabled
Jul 18 '05 #5

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

Similar topics

11
by: Matt Gerrans | last post by:
Looks like the installer for the Win32 extensions has changed from Wise to distutils, so now my automated silent installations don't work anymore. Anyone know if the distutils binary installer can...
4
by: StefanSerena | last post by:
Hi I'm running Windows 2000 and Office 2003. I want to copy tables from an unknown database format into Access 2.0 and I could do it quite easily if it weren't for the fact that recent...
5
by: sumana | last post by:
Hi, I am new the the world of .Net. I want to install the latest version on .Net and work on ASP.NET using C# Could anyone guide me how I go about doing so, assuming that I will be...
5
by: David C. Ullrich | last post by:
Would there be issues (registry settings, environment variables, whatever) if a person tried to install versions 1.x and 2.x simultaneously on one Windows system? Windows 98, if it matters. (I...
8
by: Tom Del Rosso | last post by:
Why is the Windows msi install file for ActivePython-2.4.3.12 only 15MB whereas the older msi file for ActivePython-2.4.2.10 was 19MB? BTW, is that the prefered Python environment? -- ...
4
by: metaperl | last post by:
I'm about to get a new OS X box on which I will rewrite a bunch of data munging scripts from Perl to Python. I know that there are several port services for OS X (fink, darwin ports, opendarwin)....
0
by: Tommy Grav | last post by:
I am trying to install mysqldb-1.2.2 on my PPC running 10.5.2 and Activepython 2.5.1.1 when I get this error: running build running build_py copying MySQLdb/release.py...
0
by: v1p3r | last post by:
I'm attempting to install Python 2.5.2 (python-2.5.2.amd64.msi) on my Vista SP1 x64 system, but the installer always crashes with a "Windows Installer has stopped working" error after clicking Next...
14
by: Trent Mick | last post by:
I'm happy to announce that ActivePython 2.6.0.0 is now available for download from: http://www.activestate.com/Products/activepython/ ActivePython 2.6.0.0 is based on Python 2.6.0. What is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.