Hi João,
Thanks for your help !
I followed your advice and installed PyMOL and all the dependencies with MacPort (it installed it in /opt/local/bin/pymol). I also linked pymol binary to /Library/Python2.7/site-packages. But still the same error (i.e. ImportError: no module named pymol). I am clearly missing something. Do I have to modify $PYMOL_PATH, $PYTHON_PATH or something?
Note1:
$ pymol -q
Detected OpenGL version 2.0 or greater. Shaders available.
Detected GLSL version 1.20.
Adjusting settings to improve performance for ATI cards.
It opens the windows (python icon is jumping on the dock), but I can write anything I want, nothing happens
Note2:
In PyMOL source, there is a file "PACKAGING" mentioning the below information. Do I need to relocate the files after a MacPort installation?
Under MacOS X, PYMOL_PATH is self-defining. Under Windows, this
environment variable is stored in the registry during installation.
Under Unix, PYMOL_PATH needs to be defined prior to startup, usually
by "pymol.com".
=======================================================
Suggested File Locations (for package managed installs)
=======================================================
== pymol package ==
modules/pymol -> /usr/lib/pythonX.X/site-packages/pymol
modules/chempy -> /usr/lib/pythonX.X/site-packages/chempy
modules/pmg_tk -> /usr/lib/pythonX.X/site-packages/pmg_tk
scripts -> /usr/share/pymol/scripts (RUNTIME REQUIREMENT)
data -> /usr/share/pymol/data (RUNTIME REQUIREMENT)
examples -> /usr/share/doc/pymol/examples
doc -> /usr/share/doc/pymol/doc
LICENSE -> /usr/share/doc/pymol/LICENSE
CHANGES -> /usr/share/doc/pymol/CHANGES
README -> /usr/share/doc/pymol/README
== pymol-devel package ==
test -> /usr/share/pymol/test (TESTING RUNTIME REQUIREMENT)
DEVELOPERS -> /usr/share/doc/pymol/DEVELOPERS
PACKAGING -> /usr/share/doc/pymol/PACKAGING