[AG-TECH] Python verson coexistence on 64 bit Windows?
jon.johansson at ualberta.ca
Fri Jan 11 10:38:50 CST 2008
Done, and it works fine.
~~ Jon I Johansson, Ph.D. * Tel.: (780) 492-9304 ~~
~~ jon.johansson at ualberta.ca * Fax.: (780) 492-1729 ~~
~~ * Office: G.S.B. 323C ~~
~~ Programmer/Analyst http://sciviz.aict.ualberta.ca ~~
~~ Research Computing Support ~~
~~ Room 352, General Services Building ~~
~~ Academic Information and Communication Technologies (AICT) ~~
~~ University of Alberta ~~
~~ Edmonton, Alberta, CANADA, T6G 2H1 ~~
! "This communication is intended for the use of the recipient to !
! which it is addressed, and may contain confidential, personal, !
! and/or privileged information. Please contact us immediately !
! if you are not the intended recipient of this communication. !
! If you are not the intended recipient of this communication, !
! do not copy, distribute, or take action on it. Any !
! communication received in error, or subsequent reply, should !
! be deleted or destroyed." !
From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On Behalf
Of Douglas Kosovic
Sent: Thursday, January 10, 2008 8:05 PM
To: Jon Johansson
Cc: ag-tech at mcs.anl.gov
Subject: RE: [AG-TECH] Python verson coexistence on 64 bit Windows?
> I installed AG 3.1 a couple of days ago on my desktop machine
> and it seems to work fine: WinXP Pro x64. Of course, AG
> requires a 32 bit version of Python 2.4.
> I then installed an update to Tecplot which installed a 64 bit
> version of python 2.5. My AG was broken because the environment
> variable PYTHONHOME had its value changed from C:\Python24\
> to C:\Python25\. When I changed the variable to point to the
> older python AG worked again. Now, manually changing the
> environment variable depending on the software I want to run
> is somewhat inelegant, and I'd like to think that the packages
> are a bit more sophisticated than that. I Googled around and
> Python coexistence on Windows doesn't seem to work, but I'm hoping
> that someone here might have a better experience and be willing
> to share.
You could create a AG.cmd file that sets the env variables locally
before starting the VenueClient, with something like:
start "AG" "%PYTHONW%" "C:\Program
then double click AG.cmd.
More information about the ag-tech