Page 1 of 1

No module named 'gamstransfer'

Posted: Fri Jan 06, 2023 5:54 pm
by Ely
Dear:

I have installed the GAMS Python API and when I import the gams* model it works, even I have already run my model in gams from python, but I am trying to import the "gamstransfer module" in python and I get the error ModuleNotFoundError: No module named 'gamstransfer'.

I need help please. Thanks in advance!

Re: No module named 'gamstransfer'

Posted: Fri Jan 06, 2023 6:34 pm
by bussieck
What GAMS version do you have installed? GAMS Transfer Python was introduced with GAMS 37. -Michael

Re: No module named 'gamstransfer'

Posted: Fri Jan 06, 2023 6:37 pm
by Ely
I have the 3.8.8 version of python

Re: No module named 'gamstransfer'

Posted: Fri Jan 06, 2023 6:40 pm
by Ely
Sorry, I have version 30.3 of GAMS. What I want is to import parameters and sets to my model in gams from python. can you give me some help?

Re: No module named 'gamstransfer'

Posted: Fri Jan 06, 2023 10:52 pm
by abhosekar
As Michael said, GAMS Transfer is available from GAMS 37. Please install the latest version of GAMS.
https://www.gams.com/download/

- Atharv