From: tcickovs_at_nd.edu
Date: Fri Sep 23 2005 - 10:36:36 CDT

Hello,
I am trying to use the Python interpreter provided by VMD. I was hoping to use
built-in modules such as molecule and AtomSel, for visualization, but also my
own Python modules. I have a file Force.py which has been compiled into
Force.pyc. I have set my PYTHONPATH to the directory where Force.py is, but
for some reason when I run gopython in the VMD console and then try to 'import
Force', I get 'ImportError: No module named Force'. It's like for some reason
VMD is completely ignoring my PYTHONPATH when 'gopython' is run, but if I just
run 'python' it imports successfully. Has anyone had a similar problem?
Thanks,
Trevor