Skip to main content

"no module name 'gurobipy'" in newly created anaconda environment

Answered

Comments

5 comments

  • Official comment
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    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?.
  • Silke Horn
    Gurobi Staff Gurobi Staff

    Have you also installed gurobi in the new environment where you installed Spyder 4.0.0?

    0
  • Runqing Zhao
    Gurobi-versary
    Conversationalist
    First Question

    Hi,

    Because Gurobi is installed through Anaconda Prompt, and there isn't any Prompt in each environment, I cannot install Gurobi for a particular environment.

    There is only one Anaconda Prompt start menu, and it should be connected with the basic environmrnt.

    If there is any method to install Gurobi for an environment, please tell me.

    0
  • Matthias Miltenberger
    Gurobi Staff Gurobi Staff

    Either you change the active environment in the Anaconda prompt, using activate:

    Or you start an Anaconda Terminal for a selected environment via the Navigator:

    You then have to install Gurobi again in this environment, just like Silke mentioned.

    Cheers,
    Matthias

    0
  • Runqing Zhao
    Gurobi-versary
    Conversationalist
    First Question

    Thank you very much. I've solved this probelm through this.

    0

Post is closed for comments.