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

Parallel Python environments..

Hi..

If I wanted to be able to build/test/use parallel python versions, what
would I need to do/set (paths/libs/etc...) and where would I need to place
the 2nd python version, so as not to screw up my initial python dev env.

I'd like to be able to switch back/forth between the different versions if
possible. I know it should be, but I haven't been able to find what I'm
looking for via the 'net...

Any sites/pointers describing the process would be helpuful. In particular,
any changfes to the bashrc/profile/etc... files to allow me to accomplish
this would be helpful.

thanks

Nov 6 '07 #1
4 1128
* bruce (Tue, 6 Nov 2007 07:13:43 -0800)
If I wanted to be able to build/test/use parallel python versions, what
would I need to do/set (paths/libs/etc...)
nothing
and where would I need to place the 2nd python version, so as not to
screw up my initial python dev env.
Anywhere you like (probably ~/bin would be best)
Any sites/pointers describing the process would be helpuful. In particular,
any changfes to the bashrc/profile/etc... files to allow me to accomplish
this would be helpful.
Nothing like that. Just change the shebang.

Thorsten
Nov 6 '07 #2
In Gentoo Linux you can select between installed python version using
python-config script.

Nov 6 '07 #3
bruce wrote:
Hi..

If I wanted to be able to build/test/use parallel python versions, what
would I need to do/set (paths/libs/etc...) and where would I need to place
the 2nd python version, so as not to screw up my initial python dev env.

I'd like to be able to switch back/forth between the different versions if
possible. I know it should be, but I haven't been able to find what I'm
looking for via the 'net...

Any sites/pointers describing the process would be helpuful. In
particular, any changfes to the bashrc/profile/etc... files to allow me to
accomplish this would be helpful.
Installation of several python versions is easy on at least Windows &
unixish platforms. For the latter, ususally your package-management offers
several versions. If your's doesn't or you use windows, just install as
required by python itself.

Only what gets chosen as default python version in case of e.g. *.py-files
clicking in windows explorer depends on the python version installed as
last and must be changed by the OS's means for it if other behavior is
desired.

Diez
Nov 6 '07 #4
En Tue, 06 Nov 2007 18:43:10 -0300, bruce <be*******@earthlink.net>
escribió:
if i have python 2.4.3 installed, it gets placed in the python2.4 dir..
if i
don't do anything different, and install python 2.4.2, it too will get
placed in the python2.4 tree... which is not what i want.
Any reason you want to keep 2.4.2 *and* 2.4.3 separate? The latter is only
a bugfix over the 2.4 version - anything working on 2.4.2 should work on
2.4.3. And 2.4.4, the latest bugfix on that series. Binaries, shared
libraries, extensions, etc. targetted to 2.4x should work with 2.4.4
You may want to have separate directories for 2.4 and 2.5, yes; binaries,
shared libraries and extensions do NOT work across versions changing the
SECOND digit. But changes on the THIRD digit should not have compatibility
problems.

--
Gabriel Genellina

Nov 6 '07 #5

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

Similar topics

0
by: Markus Franz | last post by:
Hi. I have a difficult problem: An array contains several different URLs. I want to load these websites in parallel by using a HTTP-Request. How can I do this in PHP? Up to now I did this...
47
by: Michael Scarlett | last post by:
There is an amazing article by paul graham about python, and an even better discussion about it on slashdot. The reason I point this out, is the more I read both articles, the more I realised how...
0
by: Fuzzyman | last post by:
Movable Python has just been released on sourceforge. Movable Python is a frozen distribution of Python. It will run python scripts without needing to be installed. ...
0
by: mmf | last post by:
Hi! I am using Python for CGI scripting. I had the following script: #!/usr/bin/python import sys print 'Content-type: text/html\r\n\r\n' print 'starting...' sys.stdout.flush() x = 999999
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
0
by: fiepye | last post by:
Hello. I am interested in parallel computing in Python. Except other modulesI would like to use new modules for vector and matrix operations and scientific computing SciPy and NumPy. I have...
10
by: Mythmon | last post by:
I am trying to make a program that will basically simulate a chess clock in python. To do this I have two threads running, one that updates the currently running clock, and one that watches for a...
43
by: parallelpython | last post by:
Has anybody tried to run parallel python applications? It appears that if your application is computation-bound using 'thread' or 'threading' modules will not get you any speedup. That is because...
5
by: fdu.xiaojf | last post by:
Hi all, I'm interested in Parallel Python and I learned from the website of Parallel Python that it can run on SMP and clusters. But can it run on a our muti-CPU server ? We are running an...
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.