Skip to main content

How to use gurobipy with multiple versions of gurobi installed

Answered

Comments

1 comment

  • David Torres Sanchez
    Gurobi Staff 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

Please sign in to leave a comment.