Hi,
After upgrading to OS X 10.11 (at my own peril!), I get the following error when I try to import gurobipy:
$ /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python
Python 2.7.10 (default, Aug 22 2015, 20:33:39)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gurobipy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Python/2.7/site-packages/gurobipy/__init__.py", line 1, in <module>
from .gurobipy import *
ImportError: dlopen(/Library/Python/2.7/site-packages/gurobipy/gurobipy.so, 2): Library not loaded: libgurobi60.so
Referenced from: /Library/Python/2.7/site-packages/gurobipy/gurobipy.so
Reason: unsafe use of relative rpath libgurobi60.so in /Library/Python/2.7/site-packages/gurobipy/gurobipy.so with restricted binary
>>>
I tried reinstalling to check that wasn't the problem. This is with the system python.
This SO post indicates it's because of a change in the security settings for 10.11
Like I said, I wasn't expecting things to work immediately, given the update was released in the last few days, but hopefully there's a fix for it.
Thanks,
Jack