From: Justin Gullingsrud (jgulling_at_mccammon.ucsd.edu)
Date: Mon Mar 08 2004 - 09:49:27 CST

Hi,

You need to have the PYTHONHOME environment variable set to the
location of your Python installation (usually /usr or /usr/local). You
can set this environment variable in the vmd startup script, or in your
.vmdrc file with "set env(PYTHONHOME) /usr".

Cheers,
Justin

On Mar 8, 2004, at 3:01 AM, Dmitry Kovalsky wrote:

> Hi all,
>
> I want VMD to use numeric python that is installed in my Liux box.
> I have
> [dikov_at_violet dikov]$ rpm -qa|grep python
> python-Numeric-22.0-alt1
> python22-devel-2.2.2-alt1
> python-Numeric-devel-22.0-alt1
> python22-2.2.2-alt1
>
> after I do
> ./configure LINUX OPENGL FLTK TK TCL PYTHON NUMPY
> cd src
> make install
>
> when i start VMD and try to call python
> vmd > gopython
> Info) Starting Python...
> '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
>>>>
>
> however
> [dikov_at_violet bin]$ rpm -ql python-Numeric-22.0-alt1|grep _numpy
> /usr/lib/python2.2/site-packages/Numeric/_numpy.so
>
> So durng the installation VMD had not see the python installation
> directory.
>
> where I have to define the installation directory of the Python and
> Numeric
> Python and why VMD does not recognise them?
>
> --
> Sincerely yours,
>
> Ph.D. Student Dmytro Kovalskyy
> Institute of Molecular Biology & Genetics
> 150 Akad. Zabolotnogo Street,
> Kiev-143, 03143
> UKRAINE
>
> E-mail: dikov_at_imbg.org.ua
> Fax: +380 (44) 266-0759
> Tel.: +380 (44) 266-5589
>
>
>

--
The universe is transformation: life is opinion.  -- marcus aurelius