I 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.
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
Please sign in to leave a comment.