No module named 'gamstransfer'

Questions on using the GAMS APIs (Python, .NET, etc.)
Post Reply
Ely
User
User
Posts: 4
Joined: 3 years ago

No module named 'gamstransfer'

Post 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!
User avatar
bussieck
Moderator
Moderator
Posts: 1042
Joined: 7 years ago

Re: No module named 'gamstransfer'

Post by bussieck »

What GAMS version do you have installed? GAMS Transfer Python was introduced with GAMS 37. -Michael
Ely
User
User
Posts: 4
Joined: 3 years ago

Re: No module named 'gamstransfer'

Post by Ely »

I have the 3.8.8 version of python
Ely
User
User
Posts: 4
Joined: 3 years ago

Re: No module named 'gamstransfer'

Post 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?
abhosekar
Moderator
Moderator
Posts: 295
Joined: 3 years ago

Re: No module named 'gamstransfer'

Post 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
Post Reply