Pymol fails to run on Mac
0
0
Entering edit mode
8.8 years ago
Reyhaneh ▴ 530

Hi,

I have installed pymol on my Mac using:

brew install homebrew/science/pymol

when I try to run pymol I get the following error:

MP02s-iMac:$ pymol

Traceback (most recent call last):
  File "/usr/local/Cellar/pymol/1.7.6.0/libexec/lib/python2.7/site-packages/pymol/__init__.py", line 71, in <module>
    import pymol
  File "/usr/local/Cellar/pymol/1.7.6.0/libexec/lib/python2.7/site-packages/pymol/__init__.py", line 521, in <module>
    import pymol._cmd
ImportError: dlopen(/usr/local/Cellar/pymol/1.7.6.0/libexec/lib/python2.7/site-packages/pymol/_cmd.so, 2): Library not loaded: /usr/local/lib/libGLEW.1.12.0.dylib
  Referenced from: /usr/local/Cellar/pymol/1.7.6.0/libexec/lib/python2.7/site-packages/pymol/_cmd.so
 Reason: image not found

It seems I have two installation of python.

MPMAC02s-iMac:Downloads rey$ which python
/usr/local/bin/python

and

MPMAC02s-iMac:Downloads rey$ type -a python
python is /usr/local/bin/python
python is /usr/bin/python

Do you know what might be causing the problem? Setting PYMOL_PATH didn't help either.

Thanks

mac python pymol • 5.7k views
ADD COMMENT
1
Entering edit mode

This commit is addressing this issue. I think it should be patched up already, run
brew update

brew doctor

ADD REPLY
0
Entering edit mode

I'm seeing a weird error as well - mine is with libpng, it's loading the wrong version even when I set the DYLIB_PATH variable. I'd suggest using EduPymol's DMG for Mac.

EDIT: Solution found - I just needed to update XQuartz. XQuartz is X11 - I had no idea that was the case. If brew doctor had been telling me X11 needed an update (instead of XQuartz needs an update), I'd have done it immediately.

ADD REPLY

Login before adding your answer.

Traffic: 1522 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6