Problems with gurobipy
AnsweredGreetings,
I used to have an old version of Gurobi (6.5). Recently I have installed Gurobi 9.1; however, now I am having problems with gurobipy module.
This is the error message I am receiving when running the line:
from gurobipy import *
Error message:
File "C:\Users\ADG\Anaconda200\lib\site-packages\gurobipy\__init__.py", line 1, in <module>
from .gurobipy import *
ImportError: DLL load failed: The specified module could not be found.
I have installed gurobipy in the gurobi911/win64 folder. There were no error messages produced.
Also when I have tried to install gurobipy using the following line:
python -m pip install -i https://pypi.gurobi.com gurobipy
I receive the following message, which if I understand it correctly indicates that guribipy is already installed:
Requirement already satisfied: gurobipy in c:\users\adg\appdata\local\programs\python\python36-32\lib\site-packages (9.1.1)
I will greatly appreciate any help or advice.
Thank you.
Sincerely,
Anna
-
Official comment
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi Anna,
Did you have a look at the Knowledge Base article ImportError: DLL load failed while importing gurobipy? This might solve your problem when applied to v9.1.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments