No HostID specified in license file
AnsweredI recently set up my academic license, installed Gurobi, and ran grbgetkey with the key provided to me. I was able to successfully run the block of code in my Jupyter notebook that imported gurobi, but when actually using it (gp.Model) I encountered a "No HostID specified in license file" error.
I have a PopOS (Ubuntu-derivative) laptop on 20.04. I have installed gurobi in the default directory and have retrieved and activated my license. The error also appears when I run gurobi.sh. Any help would be appreciated.
zcsabta@pop-os:/opt/gurobi952/linux64$ gurobi.sh
Python 3.7.11 (default, Aug 31 2021, 15:25:19)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux
Type "help", "copyright", "credits" or "license" for more information.
Warning: Failed to open log file 'gurobi.log'
Set parameter LogFile to value "gurobi.log"
No HostID specified in license file
-
Hi Bryan,
We had an issue with our license servers earlier today. If you have just installed your license, the license file may have been corrupted. Can you please try re-running the `grbgetkey` command to re-install your license?
0
Please sign in to leave a comment.
Comments
1 comment