multiple instances of python on XP

hi, I was wondering how to have multiple instances of python running on XP. I have ZOPE and TSW installed, but ZOPE's python is grabbing paths from TSW's python. specifically I changed to dir "...\Zope-2.7.2-0\bin" and in cmd window ran python did help() , sys and executable= r'...\Zope-2.7.2-0\bin\python.exe' but exec_prefix = r'...\TSW\Apache2\python' path_importer_cache = ...\TSW|Apache2\python... TSW's pyhon is ver 2.3.4 ZOPE python is 2.3.3 so Is there a way to prevent this mixup? I would like to have ZOPE installed as a service, and that means a python is running as a service. I would like to multiple python services running, and have them stay in their own installed areas. Is there a way to define the internal paths, and not to use XP's search PATH Would I have to rename python to python_1, Python_2, etc? Thanks.

Paul Gimpelj wrote:
I was wondering how to have multiple instances of python running on XP.
python-dev is for the development *of* Python, not for the development *with* Python; please post your question to an appropriate forum. I see that you have also posted the question to python-help. I personally think it is impolite to cross-post questions without indicating so - people might try to research answers for you when you already might have found them elsewhere. Regards, Martin

I have searched all the documentation online and google. I thought that developers would interested in public input. and I got email back that everybody is on vacation till sept 6. Since it is open source, I would think that this an import issue since a python advocate would want python's user base to increase. And if python , by design, is incapable of coexisting with all the other user programs and itself, what use is it? on the most popular operating system in the entire world. I do work with linux. regards, Paul ----- Original Message ----- From: "Martin v. Löwis" <martin@v.loewis.de> To: "Paul Gimpelj" <pgimpelj@sympatico.ca> Cc: <Python-Dev@python.org> Sent: Tuesday, August 17, 2004 5:14 PM Subject: Re: [Python-Dev] multiple instances of python on XP
Paul Gimpelj wrote:
I was wondering how to have multiple instances of python running on XP.
python-dev is for the development *of* Python, not for the development *with* Python; please post your question to an appropriate forum.
I see that you have also posted the question to python-help. I personally think it is impolite to cross-post questions without indicating so - people might try to research answers for you when you already might have found them elsewhere.
Regards, Martin

Paul Gimpelj wrote:
I have searched all the documentation online and google.
I thought that developers would interested in public input.
We do care about public input, but not on possible bugs delivered this way. It is easier for everyone if bugs are reported through the SourceForge bug tracker at http://www.sf.net/projects/python .
and I got email back that everybody is on vacation till sept 6.
Don't know who that is from but is most likely a single person who forgot to turn off their mailing list subscriptions.
Since it is open source,
I would think that this an import issue since a python advocate would want python's user base to increase.
I am going to assume you meant "important" instead of "import". Yes, we would like to see usage grow, but we just don't have time to try to personally fix every bug through python-dev. That is why we have the SF bug tracker.
And if python , by design, is incapable of coexisting with all the other user programs and itself, what use is it?
Python can coexist, just don't expect it to come out in a hemp-based tie-die shirt holding a bunch of posies. =) I would wait and see if python-help can turn up some leads. If not you can try comp.lang.python since I suspect this is just a configuration error. -Brett

[Paul Gimpelj]
I was wondering how to have multiple instances of python running on XP.
Multiple instances of Python are routinely used on all flavors of Windows without problems (at the moment, I have 4 on my XP box, and often run 3 simultaneously).
I have ZOPE and TSW installed, but ZOPE's python is grabbing paths from TSW's python.
Then you need to ask on Zope and TSW (unsure what that is) lists about why those applications are fighting with each other. Asking here is like asking on a bash developer's list because you run two apps from the shell that insist on having different PATHs. There's nothing bash can do about that -- and the question is better addressed to a bash user's list even if you think there should be.
specifically I
changed to dir "...\Zope-2.7.2-0\bin" and in cmd window ran python
did help() , sys and executable= r'...\Zope-2.7.2-0\bin\python.exe' but exec_prefix = r'...\TSW\Apache2\python' path_importer_cache = ....\TSW|Apache2\python...
Well, Python isn't forcing the use of TSW, and Zope certainly isn't, so if I were you I'd ask the TSW developers what they're up to. I have no idea how they manage to change Zope's Python's idea of what exec_prefix should be. Zope sets no environment variables or registry entries related to Python, and Zope runs happily without interfering with a user-installed Python, so TSW is your hangup.
participants (4)
-
"Martin v. Löwis"
-
Brett C.
-
Paul Gimpelj
-
Tim Peters