From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Mar 08 2004 - 10:17:18 CST

Dmitry,
  Have you followed the directions in the User's guide setting
the python-related environment variables:
  http://www.ks.uiuc.edu/Research/vmd/current/ug/node141.html

Thanks,
  John Stone
  vmd_at_ks.uiuc.edu

On Mon, Mar 08, 2004 at 01:01:39PM +0200, 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
>
>

-- 
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