Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running sigridci.py on Windows #96

Open
sten-rosendahl opened this issue Apr 19, 2022 · 1 comment
Open

Running sigridci.py on Windows #96

sten-rosendahl opened this issue Apr 19, 2022 · 1 comment

Comments

@sten-rosendahl
Copy link

We encountered a similar problem when running sigridci.py on a Windows machine, it didn't found valid certificates in python 3.9. One solution that works without manually adding a pem file (which was suggested in issue #72) is to use certifi and ssl and replace the standard call:
urllib.request.urlopen(uploadRequest)
with:
urllib.request.urlopen(uploadRequest, context=ssl.create_default_context(cafile=certifi.where()))

Originally posted by @sten-rosendahl in #72 (comment)

@gsmeets
Copy link
Contributor

gsmeets commented Sep 4, 2022

I ran into the same issue. I was able to fix it by rerunning the Python install, and adding tcl/tk and IDLE and Python test suite to the install. Not sure why that fixed it, I guess it installs something that is used by the SSL subsystem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants