Running Gurobi through Pyomo on Linux cluster - site module missing
AnsweredHello,
When I try to run the optimization code on a cluster (linux) I get the message: "ImportError: No module named site".
What is the reason for this error? I use Gurobi through Pyomo package in Python and miniconda distribution.
I can see from the log that the model was successfully built and sent to the (Gurobi) solver, so the problem is probably with the solver itself.
Dominik
0
-
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?. -
Sorry for not replying earlier!
This is a Python import error and not directly related to the Gurobi solver. Please try installing Gurobi and Pyomo again and test the installation with some example models.
Best regards,
Matthias0
Post is closed for comments.
Comments
2 comments