Problems installing Gurobi Optimizer
AnsweredHello, i have problems with installing the Gurobi Optimizer.
I downloaded the optimizer from the official website and installed it on my pc. After i get the academic license code i paste it in the promt of my pc. Once the code is saved, i enter following code:
conda config --add channels http://conda.anaconda.org/gurobia
Until here everything works fine. Now i want to install gurobi with following code:
conda install gurobi
If i use the newest versions of anaconda and gurobi, my pc tells me the following:
When i use older versions of anaconda or gurobi the following error pops up:
Can somebody help me please?
-
Hi Luca,
The Gurobi package is not available on Anaconda for all Python versions: Files :: Anaconda.org
Specifically, Gurobi for Python 3.9 is not available. You can either use a different Python version in your Anaconda environment, e.g., Python 3.8 or install the Gurobi Python package via pip
python -m pip install gurobipy
or directly from your installation folder:
python setup.py install
You may also want to consult this guide: How do I install Gurobi for Python? – Gurobi Support Portal
Cheers,
Matthias0
Please sign in to leave a comment.
Comments
1 comment