[AG-TECH] Python verson coexistence on 64 bit Windows?

Jon Johansson jon.johansson at ualberta.ca
Thu Jan 10 13:22:09 CST 2008


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.
Thanks for any help,

~~   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."                                        !

More information about the ag-tech mailing list