I've just installed pymol 0.99rc6 on Mac OS X (10.3.9). Because I'm still
running Panther and I no longer have the system python installed (instead I
have 2.4) I couldn't use macpymol-0_99rc6.tar.gz as pymol no longer comes
with its own copy of python. macpymol-0_99rc6.tar.gz fails trying to load
some 2.3 python.

I can't use the Mac OS X / X11 hybrid, because I don't have Tiger.

So I decided to try installing from source. I took option 1 to see what
would happen:

| To use Approach 1:
| 
|    You must have OpenGL, glut, libpng, tcl/tk, python, freetype2, and
|    Pmw already installed on your system for this to work.
| 
|    python setup.py install
|    python setup2.py install
|    ./pymol

I only needed to install Pmw and the build & install worked fine.

Problem 1: When I run ./pymol, it tries to open X11 (and fails) and
produces a weird looking non-functional external GUI. Image in
http://jones.tc/images/pymol.png

When I run ./pymol -qx I get just the internal GUI window just fine, I can
type at it, run commands, etc.

Problem 2: When I try to launch pymol from a python script:

    import __main__
    __main__.pymol_argv = ['pymol', '-qx']
    import pymol
    pymol.finish_launching()
    print "finished"

It pops up the internal GUI window, but then I get Apple's spinning colored
pizza of death and no response at all - I have to kill it with Control-c in
the terminal window. Terminal continues to be the running app, there's no
switch to python (i.e., Mac OS X continues to have the Terminal menu). The
"finished" line is printed.

If anyone has any hints on Problem 1 or 2 above, I'd be happy to hear
them. And yes, I should bite the bullet and upgrade to Tiger.

Regards,
Terry

Reply via email to