-2

I have installed gurobi, however it does not get reflected when importing.

I get the following error:

No module name gurobi

Barry Michael Doyle
  • 9,333
  • 30
  • 83
  • 143
skaur
  • 15
  • 2

1 Answers1

2

You didn't write which API you are using. If you are using python, you should use import gurobipy and not gurobi. You also need to setup some environment variables (GUROBI_HOME, PATH and LD_LIBRARY_PATH). See Gurobi quick start guide.

vezunchik
  • 3,669
  • 3
  • 16
  • 25
Arkin
  • 39
  • 5