From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Apr 20 2004 - 15:02:25 CDT

Ramon,
  If you really want to use Python 2.3, then it might be best to
just recompile VMD against the version of Python you plan to use so
it is all self-consistent. All the basics about compiling VMD from
source are posted within the Programmer's guide here:
  http://www.ks.uiuc.edu/Research/vmd/doxygen/

Let us know if you need help,
  John Stone
  vmd_at_ks.uiuc.edu

On Tue, Apr 20, 2004 at 06:39:32PM +0200, Ramon Crehuet wrote:
> Hi all,
> I have VMD 1.8.2 and Python 2.3 installed on a Mandrake linux 9.2
> machine. I know that this version of VMD runs on python 2.2 but I use
> python for other things and don't want to go back one version.
> In fact, VMD can start python, but as one should expect, there are
> some problems loading modules:
>
> Info) Starting Python...
> Could not find platform independent libraries <prefix>
> Could not find platform dependent libraries <exec_prefix>
> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
> 'import site' failed; use -v for traceback
> Numeric Python module _numpy not found; vmdnumpy module not available.
> ImportError: No module named _numpy
> Info) Text interpreter now Python
> Traceback (most recent call last):
> File "<string>", line 1, in ?
> ImportError: No module named Tkinter
> >>>
>
> Changing $PYTHONHOME does not work probably because it looks for python
> 2.2 and not 2.3 but I was wondering if there is any trick to make it
> work. Could I recompile vmd? Or could I add some symbolic link in
> /usr/lib/python2.2 to /usr/lib/python2.3? Or something else? I guess
> many users working on new linux distributions are finding this problem...
>
> Thanks in advance,
>
> Ramon

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349              
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078