What Does "No module named 'gurobipy' mean"?
Awaiting user inputI will start by sayin I am VERY new to Gurobi but I have been using Gurobi successfully and, last night, began receiving the following message when I attempted to create a new model:
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Input In [1], in <cell line: 1>() ----> 1 import gurobipy as gp 2 from gurobipy import GRB ModuleNotFoundError: No module named 'gurobipy'
It looks likes Gurobi isn't installed, correct? If so, it was yesterday morning when I ran another model.
0
-
There could be many reasons for this behaviour. One of the most common is the fact that Gurobi may be installed in a different (conda) environment than the one you are using it.
Could you please share some more details about the Python / Gurobi version you are using?
Best regards
Jonasz0
Please sign in to leave a comment.
Comments
1 comment