1

In Pycharm, whenever I try to create a Conda virtual environment, I am getting Time Out errors. Here is how I am creating the virtual environment:

Pycharm Conda Virtual Environment

And this is the error message I receive no matter how many times I try:

Pycharm Error Message

And here is the error message:

Solving environment: ...working... failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/pro/noarch/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/pro/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))

If it is because Path variables aren't set, then can someone guide me on how and what to set?

2
  • This is likely an error with SSL (an issue which seems to pop up rather frequently in Anaconda). As a suggestion, try installing an appropriate version of SSL from Shining Light Productions Commented Apr 6, 2019 at 2:55
  • Note that you can get the paths used by Anaconda with echo %PATH% at an Anaconda prompt. Commented Apr 6, 2019 at 3:10

1 Answer 1

0

This particular case is covered by the following ticket in PyCharm's bug tracker: https://youtrack.jetbrains.com/issue/PY-35141

IDE doesn't activate base conda in C:\ProgramData before creating the environment causing SSLError.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .