Gossamer Forum
Home : General : Internet Technologies :

Python - more than 1 installation side by side?

Quote Reply
Python - more than 1 installation side by side?
Hi All

Does anyone know if you can have more than one installation of Python on a server?

The control panel that we would be using is tied to Python 1.5.2, but a certain script that we want to try needs at least Python 2.2

I know that with Perl you can have multiple installations that can each have different features - like one can be threaded and another one not threaded.

If it's okay to run a secondary python, is it a bugger to install?

In fact, can you install it at the virtual level, or must you have root access?

Thanks very much Smile

------------------------------------------

Last edited by:

DogTags: Jan 25, 2004, 9:11 PM
Quote Reply
Re: [DogTags] Python - more than 1 installation side by side? In reply to
Not sure, but it's almost definitely possible. Try doing it as a non root user, that way you will ensure you don't overwrite the system python. Most likely it will just be a download and something like:

./configure --prefix=/home/user/python
make
make install

and that will install everything into your own directory.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Python - more than 1 installation side by side? In reply to
Thanks, Alex. I was thinking the same thing. I'll give it a go.....on my test box Smile

Thanks for the tip on doing the config for a user account.

Cheerio Smile

------------------------------------------

Last edited by:

DogTags: Jan 27, 2004, 5:30 AM