reinstalling academic license with university network_ERROR with inconsistency in environment
AnsweredI've been informed that my previous gurobi license should be reinstalled while connected to the university network. due to the error below.
---------------------------------------------------------------------------
GurobiError Traceback (most recent call last)
<ipython-input-5-4b5bdce5b8bd> in <module>
102
103 model.setObjective(obj,gp.GRB.MINIMIZE)
--> 104 model.optimize()
105
106 #P = model.getAttr("X")
src/gurobipy/model.pxi in gurobipy.Model.optimize()
GurobiError: Model too large for size-limited license; visit https://www.gurobi.com/free-trial for a full license
after connecting myself with the university network and reinstalling the below message says that there is an inconsistency in the environment. Is there a way to solve this?
Collecting package metadata (current_repodata.json): done
Solving environment: -
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/osx-64::anaconda==2020.07=py38_0
done
## Package Plan ##
environment location: /Users/oliviapark/Documents/Programming_with_Python/anaconda3
added / updated specs:
- gurobi
The following packages will be downloaded:
package | build
---------------------------|-----------------
_anaconda_depends-2020.07 | py38_0 6 KB
anaconda-custom | py38_1 35 KB
ca-certificates-2021.7.5 | hecd8cb5_1 113 KB
certifi-2021.5.30 | py38hecd8cb5_0 139 KB
openssl-1.1.1l | h9ed2024_0 2.2 MB
pip-21.0.1 | py38hecd8cb5_0 1.8 MB
------------------------------------------------------------
Total: 4.3 MB
The following NEW packages will be INSTALLED:
_anaconda_depends pkgs/main/osx-64::_anaconda_depends-2020.07-py38_0
pip pkgs/main/osx-64::pip-21.0.1-py38hecd8cb5_0
The following packages will be UPDATED:
ca-certificates 2020.6.24-0 --> 2021.7.5-hecd8cb5_1
certifi 2020.6.20-py38_0 --> 2021.5.30-py38hecd8cb5_0
openssl 1.1.1g-h1de35cc_0 --> 1.1.1l-h9ed2024_0
The following packages will be DOWNGRADED:
anaconda 2020.07-py38_0 --> custom-py38_1
Downloading and Extracting Packages
pip-21.0.1 | 1.8 MB | ##################################### | 100%
openssl-1.1.1l | 2.2 MB | ##################################### | 100%
_anaconda_depends-20 | 6 KB | ##################################### | 100%
anaconda-custom | 35 KB | ##################################### | 100%
ca-certificates-2021 | 113 KB | ##################################### | 100%
certifi-2021.5.30 | 139 KB | ##################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Note: you may need to restart the kernel to use updated packages.
-
Official comment
This post is more than three 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 why not try our AI Gurobot?. -
Hi Olivia!
Apparently, there is something off with your conda environment. It's pretty difficult to diagnose this issue and my suggestion would just be to set up a new environment.
Please note that the conda and pip installation packages of Gurobi always include a size-restricted license, so users can get started right away. You need to use your proper academic license to handle arbitrary-sized models and have full access to Gurobi.
This page may be helpful: How do I install Gurobi for Python? – Gurobi Support Portal
Cheers,
Matthias0
Post is closed for comments.
Comments
2 comments