Unable to open Gurobi license file.Why the start of path has '?'?
Question:
Unable to open Gurobi license file.Why the start of path has ‘?’ ?
File "srcgurobipygurobi.pxi", line 3575, in gurobipy.read File
"srcgurobipygurobi.pxi", line 84, in gurobipy.gurobi.read File
"srcgurobipygurobi.pxi", line 32, in gurobipy.gurobi._getdefaultenv
File "srcgurobipyenv.pxi", line 62, in gurobipy.Env.__init__
gurobipy.GurobiError: Unable to open Gurobi license file
'?C:UsersGIGABYTEgurobi.lic'
Answers:
I think the installation of gurobi in the virtual environment is not activated, and it can run successfully after activation
Unable to open Gurobi license file.Why the start of path has ‘?’ ?
File "srcgurobipygurobi.pxi", line 3575, in gurobipy.read File
"srcgurobipygurobi.pxi", line 84, in gurobipy.gurobi.read File
"srcgurobipygurobi.pxi", line 32, in gurobipy.gurobi._getdefaultenv
File "srcgurobipyenv.pxi", line 62, in gurobipy.Env.__init__
gurobipy.GurobiError: Unable to open Gurobi license file
'?C:UsersGIGABYTEgurobi.lic'
I think the installation of gurobi in the virtual environment is not activated, and it can run successfully after activation