Skip to content

Problems experienced with SSL certificates using requests library #83

@RobPasMue

Description

@RobPasMue

As reported by @kmahajan-cadfem, he has experienced issues when downloading Python using the Ansys Python Manager. Errors seem to be related to SSL Certificate verification when using the requests library. One option would be to implement as a fail-safe a powershell web request directly. See #82 for more details.

Proposed solution by @kmahajan-cadfem:

one solution could be to just create a powershell web request, instead of python requests. (as fail safe)

Invoke-RestMethod 'https://www.python.org/ftp/python/3.10.0/python-3.10.0-amd64.exe' -Method 'GET'  -OutFile "python-3.10.0.exe"

or just use wget, should be available on windows as well under powershell.

Originally posted by @kmahajan-cadfem in #82 (comment)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions