pymol 1.7.0.0 fails to run without:
export PYMOL_PATH='/usr/share/pymol'
As I understand https://github.com/evonove/pymol/blob/master/pymol/PACKAGING it should look there automatically.
$ pymol
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/pymol/init.py", line 179, in <module>
import pymol
File "/usr/lib64/python2.7/site-packages/pymol/init.py", line 256, in <module>
test_path = os.path.join(os.environ['PYMOL_PATH'], test_path)
File "/usr/lib64/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'PYMOL_PATH'</module></module>
Which operation system? Did you install PyMOL from source or is this from a package repository?
PYMOL_PATH can be guessed if it's in a standard location like "site-packages/pymol/pymol_path". The "pymol" launcher that we create is a shell script which always sets PYMOL_PATH first, so I wonder what launcher you use.
I used this script to build it from source:
http://www.incenp.org/dvlpt/slackbuilds/xap/pymol/pymol.SlackBuild
So error is in the launching script install as I understand and no bug?
fixed in svn rev 4064.
(even though I consider this rather a Slackware packaging bug)