Gurobi is causing my python segfault on MacOS high sierra and anaconda 5.0

793 views
Skip to first unread message

Jixin Feng

unread,
Sep 28, 2017, 12:33:19 AM9/28/17
to Gurobi Optimization
I just installed high sierra this week and updated Anaconda to the latest and gurobi stoped working. It still works on my Ubuntu 16.04 LTS though. 

I don't know it's just me or not

$ uname -a
darwin *** 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64


$ conda install -c gurobi gurobi
Fetching package metadata .............
Solving package specifications: .

Package plan for installation in environment /Users/***/anaconda:

The following NEW packages will be INSTALLED:

    gurobi: 7.5.1-py36_0 gurobi

Proceed ([y]/n)? y

gurobi-7.5.1-p 100%


$ python
Python 3.6.2 |Anaconda, Inc.| (default, Sep 21 2017, 18:29:43)
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from gurobipy import *
[1]    24047 segmentation fault  python


Michael Fairley

unread,
Oct 20, 2017, 3:18:17 PM10/20/17
to Gurobi Optimization
I am having the same issue on macOS.

Zonghao Gu

unread,
Oct 28, 2017, 11:54:59 PM10/28/17
to gur...@googlegroups.com
 Anaconda3-4.4.0-MacOSX-x86_64.pkg was the version when we released Gurobi 7.5.1. We tested against it. 
The current Anaconda version 5.0.1 doesn't work for Gurobi 7.5.1 for Mac. It gets segfault. We are working with Anaconda to address it.
The workaround is to use other platform, like Windows or Linux, to use python 2.7 or to use older version like Anaconda 4.4.0.

--

---
You received this message because you are subscribed to the Google Groups "Gurobi Optimization" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

J. Friedman

unread,
Oct 29, 2017, 8:07:25 PM10/29/17
to Gurobi Optimization
Please post when it is fixed.
Thanks
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.

Christopher Hermann

unread,
Nov 26, 2017, 11:58:14 AM11/26/17
to Gurobi Optimization
Still not working for me with Gurobi 7.5.2. When do you think we can expect a solution for this problem? Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to gurobi+un...@googlegroups.com.

Michael Winkler

unread,
Nov 28, 2017, 1:14:28 PM11/28/17
to Gurobi Optimization
You could try to reinstall Gurobi 7.5.2 and the and the older Anaconda package (doing a clean installation), this should work. Or you could switch to python 2.7.
The problem was reported to the Anaconda developers but I have not heard of a fix yet.

Best, Michael

Andrea Cassioli

unread,
Mar 2, 2018, 8:16:25 AM3/2/18
to Gurobi Optimization
Any updates? I still get errors...

Michael Winkler

unread,
Mar 2, 2018, 10:13:38 AM3/2/18
to Gurobi Optimization
I just tried the newest version Anaconda 5.1 which comes with python 3.6.4 but it still segfaults.
Sorry I also do not have any news for a fix.

Michael

esisi...@gmail.com

unread,
Sep 18, 2018, 10:50:33 AM9/18/18
to Gurobi Optimization
I am also trying to run gurobi 7.5.2 on python 3.6. I downgraded my anaconda to 4.4.0 but it still segfaults. Any updates on the fix? 
Thanks
Esra

Daniel Espinoza

unread,
Sep 19, 2018, 7:33:09 AM9/19/18
to Gurobi Optimization
Esra,

This was fixed with 8.0.0. I would recommend installing the latest Gurobi 8.0.1 on python 3.6
Reply all
Reply to author
Forward
0 new messages