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

Comments

4 comments

  • Silke Horn

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

    0
    Comment actions Permalink
  • Runqing Zhao

    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
    Comment actions Permalink
  • Matthias Miltenberger

    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
    Comment actions Permalink
  • Runqing Zhao

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

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk