I got the same error when importing python in a fake script
---
import pymol
print 'test'
-------
the error was again:
Traceback (most recent call last):
File "pymo.py", line 1, in <module>
import pymol
File "/usr/lib/pymodules/python2.6/pymol/__init__.py", line 255, in
<module>
test_path = os.path.join(os.environ['PYMOL_PATH'],"freemol")
File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'PYMOL_PATH'
I am not sure if the installation is incorect or broken, as I installed
it with synaptic, the package manager of Ubuntu. I will try it
differently and let you know.
cheers
Edward d'Auvergne schrieb:
Hi,
I have been trying in the last few revisions in the 1.3 line to more
tightly integrate PyMOL by using the PyMOL packages if installed
rather than running it on the command line. This will be very useful
for integrating the OpenGL canvas of PyMOL into the GUI in the future
(as Maestro does now, http://www.schrodinger.com/products/14/12/).
Therefore this problem is an indication that the pymol package is
incorrectly installed on your system. This is easy to test. Run
python and then type 'import pymol'. Do you get the same error? I
prefer not to catch this error in relax as the user will not know that
the PyMOL installation is broken.
Regards,
Edward
P. S. It is better to ask these questions directly on the relax-devel
mailing list. The reason is because discussions should be held on the
mailing lists and not the trackers - the trackers are not designed for
this purpose. Cheers.
On 14 March 2010 23:55, Michael Bieri <NO-REPLY.INVALID-ADDRESS@xxxxxxx>
wrote:
Follow-up Comment #41, task #6847 (project relax):
Hi Edward
I am not sure if this is a bug or just an error after merging the 1.3 in
relaxGUI.
If I try to run relaxGUI, I get the following error:
Traceback (most recent call last):
File "./relax", line 38, in <module>
import dep_check
File
"/home/michael/Dokumente/Experiments/Programming/relaxGUI/100315_GUI/singleton/bieri_gui/dep_check.py",
line 162, in <module>
import pymol
File "/usr/lib/pymodules/python2.6/pymol/__init__.py", line 255, in
<module>
test_path = os.path.join(os.environ['PYMOL_PATH'],"freemol")
File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
raise KeyError(key)
KeyError: 'PYMOL_PATH'
There seems to be a problem with pymol.
Cheers
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?6847>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-devel mailing list
relax-devel@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel
_______________________________________________
relax (http://nmr-relax.com)
This is the relax-devel mailing list
relax-devel@xxxxxxx
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel