Question

I am trying to use Gurobi's python module gurobipy on a Fedora 18 installation.

So far, I got the extracted and unmodified version of the Gurobi download to "work" by executing the Python binary distributed with Gurobi.

However, I cannot get it to include the gurobipy module:

File "/usr/lib64/python2.7/gurobipy/__init__.py", line 1, in <module>
from gurobipy import *
ImportError: libgurobi55.so: cannot open shared object file: No such file or directory

Since this is the distribution's Python2.7 version, I am not sure how to proceed, let alone integrate the library into my system's Python2.7 64 Bit version.

Was it helpful?

Solution

PyDev is finding the gurobi python libraries. The gurobipy python library is not able to find the native shared libraries. You need to add the location of libgurobi55.so to your LD_LIBRARY_PATH environment variable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top