I am trying to install the Python API on a Linux server. Python is installed server and I do not have writing access to the standard "site-packages" folder. I thus need to install to the user "site-packages" folder. When I use the option for this in calling setup.py, i.e.,
Code: Select all
python setup.py install --user
as this is the path to the server "site-packages" folder.error: /cluster/apps/python/2.7.6/x86_64/lib64/python2.7/site-packages/_gdxcc.so: Permission denied
I tried running the different setup files for the low level packages (gdxcc etc.) and these packages correctly install in the user "site-packages" folder. Finally running gamsxsetup.py also works, but when I try to import the gams package, I get an import error:
Any hints how to install the gams package to the user "site-packages" folder?ImportError: gams/workspace.so: undefined symbol: PyUnicodeUCS4_FromStringAndSize
Best
Jan
P.S. Gams version: 24.9.1; Python 2.7.