Unable to install.
AnsweredI am new to programming, I am facing this issue while installing. I ran the code below in Anaconda Prompt and faced this problem. Due to this, I am not able to run any code on Jupyter Notebook. I have installed Anaconda 3.9
(base) C:\Users\Ramana N K>conda config --add channels http://conda.anaconda.org/gurobi
Warning: 'http://conda.anaconda.org/gurobi' already in 'channels' list, moving to the top
(base) C:\Users\Ramana N K>conda install gurobi
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
-
Hi Ramana,
Unfortunately, there is no conda package for Gurobi and Python 3.9 yet, only for Python <=3.8. So, either you set up a virtual environment with Python 3.8 and install the conda package as usual, or you install Gurobi for Python 3.9 in a different way, see below.
The preferred option would be to install it via pip, i.e., in your conda environment you run
python -m pip install gurobipy
Alternatively, you could install the full Gurobi package from our website if you need additional resources like Gurobi command line, documentation, examples, etc., or if you want to use Gurobi also with other programming languages.
Best regards,
Mario0
Please sign in to leave a comment.
Comments
1 comment