This is actually a bug in the GAMS Python API. We have already fixed the bug and will publish it in the next GAMS release. Thank you very much for reporting this problem.
I am trying to import data by Python in GAMS and run my model (with python).
Opening Anacondo prompt I changed the directory to C:\GAMS\win64\26.1\apifiles\Python\api_36.
After that I executed setup.py in Anaconda prompt.
However, after installing the phthon api (3.6) I execute the following:
from gams import GamsWorkspace
or
from gams import *
But I get this error:
ModuleNotFoundError: No module named ‘gams’
Is this because the apis are not installed appropriately?