メインコンテンツへスキップ

How to use gurobipy with multiple versions of gurobi installed

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • David Torres Sanchez
    • Gurobi Staff

    Hi,

    You can find the Python versions supported here: Which Python versions are supported by Gurobi? 

    You can install them easily with conda (or pip).
    This doesn't require system environment variables as the package is self-contained.
    Please try removing the packages you have now and installing via conda (pick an appropriate version):  How do I install Gurobi for Python?

    If this doesn't work for you (e.g. you want to keep using the module load approach), then the system environment variables have to be set as indicated in  How do I install Gurobi Optimizer? (in the Linux bit).
    To change the Gurobi version, the system environment variables also have to be updated.

    Cheers, 
    David

    0

投稿コメントは受け付けていません。