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

About installing new Python version.

Hi to all,

i started with Python at v2.5 and now i see that a new version is
released.
As i already have a lot of stuff for Python installed in the site-
packages directory, which is the correct way to install a new Python
version without do any damage ?

Remove Python and ALL Python related software and install them all
over again (painful)?
Remove Python and do not touch anything else and install new version
on top of them at the same directory ?
Any other choice available ?

Thanks a lot for any help!

Apr 19 '07 #1
6 1333
On Apr 19, 2:03 am, king kikapu <aboudou...@panafonet.grwrote:
Hi to all,

i started with Python at v2.5 and now i see that a new version is
released.
As i already have a lot of stuff for Python installed in the site-
packages directory, which is the correct way to install a new Python
version without do any damage ?

Remove Python and ALL Python related software and install them all
over again (painful)?
Remove Python and do not touch anything else and install new version
on top of them at the same directory ?
Any other choice available ?

Thanks a lot for any help!
Just install the new version. It should link everything back up so the
new version is active, but the old versions are intact.

~Sean

Apr 19 '07 #2
On Apr 19, 11:39 am, half.ital...@gmail.com wrote:
On Apr 19, 2:03 am, king kikapu <aboudou...@panafonet.grwrote:
Hi to all,
i started with Python at v2.5 and now i see that a new version is
released.
As i already have a lot of stuff for Python installed in the site-
packages directory, which is the correct way to install a new Python
version without do any damage ?
Remove Python and ALL Python related software and install them all
over again (painful)?
Remove Python and do not touch anything else and install new version
on top of them at the same directory ?
Any other choice available ?
Thanks a lot for any help!

Just install the new version. It should link everything back up so the
new version is active, but the old versions are intact.

~Sean
I installed 2.5.1 and as the installer said, it have replaced my old
installation with the new one, something like i wanted to do! So i
checked and everything seems to working fine. But this is an update
release to 2.5, i do not know what is happening when, for example, a
totally new Python version come out, like 2.6 or 2.7 or...

Apr 19 '07 #3
Ant
checked and everything seems to working fine. But this is an update
release to 2.5, i do not know what is happening when, for example, a
totally new Python version come out, like 2.6 or 2.7 or...
Again just install it - it will by default install alongside Python
2.5 in a different directory, and set itself as the default python
version. You'll then need to update all your third party extensions to
ones compiled against the new version - so if you have a lot of these,
it makes sense to wait a while before upgrading.

--
Ant.

Apr 19 '07 #4
On Apr 19, 12:10 pm, Ant <ant...@gmail.comwrote:
checked and everything seems to working fine. But this is an update
release to 2.5, i do not know what is happening when, for example, a
totally new Python version come out, like 2.6 or 2.7 or...

Again just install it - it will by default install alongside Python
2.5 in a different directory, and set itself as the default python
version. You'll then need to update all your third party extensions to
ones compiled against the new version - so if you have a lot of these,
it makes sense to wait a while before upgrading.

--
Ant.
Hmm...ok, i was sure that i wouldn't avoid that...The nice thing is
that 2.5.1 installed in default directory so no problem for now.
Thanks!

Apr 19 '07 #5
king kikapu wrote:
On Apr 19, 12:10 pm, Ant <ant...@gmail.comwrote:
>>checked and everything seems to working fine. But this is an update
release to 2.5, i do not know what is happening when, for example, a
totally new Python version come out, like 2.6 or 2.7 or...
Again just install it - it will by default install alongside Python
2.5 in a different directory, and set itself as the default python
version. You'll then need to update all your third party extensions to
ones compiled against the new version - so if you have a lot of these,
it makes sense to wait a while before upgrading.

--
Ant.

Hmm...ok, i was sure that i wouldn't avoid that...The nice thing is
that 2.5.1 installed in default directory so no problem for now.
Thanks!
Good question. kk is right - with a change in *major* version (such as
2.4 to 3.5, 3.5 to 3.6) the compiled extensions will be incompatible,
and will need to be recompiled. This can take a while, as extension
authors frequently have other things to do besides maintain their
extensions.

As you have found out, though, when only the *minor* version changes you
can just frop the new version in over the old and all your installed
extensions and packages continue to work just fine.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com

Apr 19 '07 #6
On Apr 19, 1:51 pm, Steve Holden <s...@holdenweb.comwrote:
Good question. kk is right - with a change in *major* version (such as
2.4 to 3.5, 3.5 to 3.6) the compiled extensions will be incompatible,
and will need to be recompiled. This can take a while, as extension
authors frequently have other things to do besides maintain their
extensions.

As you have found out, though, when only the *minor* version changes you
can just frop the new version in over the old and all your installed
extensions and packages continue to work just fine.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Recent Ramblings http://holdenweb.blogspot.com
Thanks Steve, it is just the way i understood this, after seeing what
the installer did.

Apr 19 '07 #7

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

Similar topics

1
by: wolf | last post by:
i would like to briefly share my experiences with installing mod_python on a w2000 box. i must say that i believe the installation process to be unnecessarily complicated by the simple fact that...
2
by: Rien Kok | last post by:
Hi, I have a strange problem. I want to install Plone (Plone2-2.0.0rh-2.i386.rpm) Because Plone 2.0 needs Python 2.3.3, I installed Python 2.3.3 from source (Python-2.3.3.tar). Everything...
2
by: Dennis Hore | last post by:
I'm trying to install Nick Patavalis' ppgplot package on Mac OS X 10.3 with python 2.3. I first sent this message to Nick, but he said he doesn't have any experience with the Mac platform. ...
37
by: Carlos Ribeiro | last post by:
Oh well. A mailing list is not the most appropriate place for rants (a blog is better), but it's still better than keeping it for myself. I'm frustrated. My search for a good IDE to support my...
7
by: Edward Diener | last post by:
I can install Python 2.4 on the Fedora 3 Linux system, but after I do a number of Linux utilities and commands, like yum, stop working because they were dependent on the Python 2.3 installation....
1
by: pierreth | last post by:
Hello, I made some programming wit Python 2.4 but Red Hat comes with version 2.3 as default. So I would like to install the last version of Python on a production server but I am a bit afraid....
13
by: Gary Wessle | last post by:
Hi I am trying to install NumPy in my debian/testing linux 2.6.15-1-686. with no numpy for debian/testing, I am left alone, since the experimental version available by debian will result in a...
4
by: =?ISO-8859-1?Q?Andr=E9?= | last post by:
Sorry about the simple question ... I'd like to install Python 3000 on my computers (Mac, and possibly Windows), without messing up the existing versions. So far, I've always relied on using...
7
by: Yansky | last post by:
I asked my hosting company if they would upgrade Python on my server to the latest version. They responded with: "Sorry no. We tend to stick with what comes packaged with the unix distribution...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
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.