Hi,
I’ve been following the steps to install gamspy on Visual Studio Code, but I’m running into an issue when trying to install the academic license. I’m getting the error below. Any help would be greatly appreciated. Thanks!
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘license.gams.com’, port=443): Max retries exceeded with url: /license-type?access_token=10b4b922-6a02-44fc-8e6e-a6988e935241 (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1020)’)))
Can you please run:
pip install --upgrade certifi
and try to install your license again with:
gamspy install license <access_code>
If this does not resolve your issue, can you please share which operating system you are using and the output of:
gamspy -v
1 Like
Hi, thanks for your prompt response. I use both Windows and Mac.
On Windows, after upgrading certifi, it works now.
On Mac, it says certifi is already most updated version, and I still can’t activate the license. Here is the ouput that you asked for:
GAMSPy version: 1.1.0
GAMS version: 48.2.0
gamspy_base version: 48.2.0
You can apply the following suggested fix for Mac: python - certificate verify failed: unable to get local issuer certificate - Stack Overflow
If it doesn’t work, can you share the stack trace of gamspy install license <access_code>
so that we can see which line causes this?
1 Like
it works now. Thank you so much!!!
1 Like