Skip to main content

using gurobi in jupyer notebook



1 comment

  • Richard Oberdieck
    Gurobi Staff Gurobi Staff

    Hi Joyjit,

    this means that the environment that the Jupyter notebook sees does not have gurobi. Typically there are three reasons for this:

    a) You have created a separate environment (other than base). If you install gurobi there, you need to select that environment also in the Jupyter notebook. To do this, you need to have the package "nb_conda" installed and restart Jupyter notebook.

    b) You have installed gurobi while the notebook is open. Then you should restart and it should be available then.

    c) You have separate Python installations (most commonly 2.7 and 3.x), and gurobi gets installed into the wrong one. Then you should check your path variable.

    Hope this helps, please let me know.




Please sign in to leave a comment.