문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top