No module named 'gurobipy'
Awaiting user inputHi, I have installed the gurobi optimizer and got a license. Also I have installed the gurobipy module in Pycharm. As you can see we I want to import the moduel, there's a box indicating that the module is existing in my environment.
but when I run the code "from gurobipy import * ", there's an error:
I've searched alot in Google as well as this community, but found no anwsers. Could anyone help me?
PS: I also successfully ran the "setup.py install" but it still doesn't work:
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?. -
Hi Kaiyu,
Did you have a look at the Knowledge Base article How do I use Gurobi with PyCharm? From your 3rd screenshot, it seems like you installed the gurobipy module into your conda environment.
Best regards,
Jaromił0
Post is closed for comments.
Comments
2 comments