GAMS return code not 0 (7)
Posted: Thu Oct 27, 2022 5:11 am
Hello, I install GAMS Python API in my virtualenv, and I get this error when I run the code
```
File"gams\execution.py", line 905, in runraise gams.workspace.GamsExceptionExecution("GAMS return code not 0 (" + str(exitcode) + ")
gams.workspace.GamsExceptionExecution: GAMS return code not 0 (7)
```
I check the information about the return code (see https://www.gams.com/latest/docs/UG_GAM ... Codes.html), it seems like there exist a licensing error (return code 7),
but I have checked that my GAMS license is valid. Could someone tell me how to solve this problem.
Thanks
```
File"gams\execution.py", line 905, in runraise gams.workspace.GamsExceptionExecution("GAMS return code not 0 (" + str(exitcode) + ")
gams.workspace.GamsExceptionExecution: GAMS return code not 0 (7)
```
I check the information about the return code (see https://www.gams.com/latest/docs/UG_GAM ... Codes.html), it seems like there exist a licensing error (return code 7),
but I have checked that my GAMS license is valid. Could someone tell me how to solve this problem.
Thanks