DEV Community

Nanashi.
Nanashi.

Posted on

3

How to get rid of SSLError while poetry install on Windows

Who should read this?

  MaxRetryError

  HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /user/repo/info/refs?service=git-upload-pack (Caused by SSLError(FileNotFoundError(2, 'No such file or directory')))

  at .venv\Lib\site-packages\urllib3\util\retry.py:592 in increment
      588│             history=history,
      589│         )
      590│
      591│         if new_retry.is_exhausted():
    → 592│             raise MaxRetryError(_pool, url, error or ResponseError(cause))
      593│
      594│         log.debug("Incremented Retry for (url='%s'): %r", url, new_retry)
      595│
      596│         return new_retry
Enter fullscreen mode Exit fullscreen mode

If you are stacking in this error, you should read this.

Solution

Delete (or comment out) these lines in C:\ProgramData\Git\config:

[http]
        sslCAinfo = /bin/curl-ca-bundle.crt
Enter fullscreen mode Exit fullscreen mode

Conclusion

What a short article lol
Thank you for reading, I hope that you're helped with this article.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (1)

Collapse
 
tony_andrew_944dec99672cd profile image
tony andrew • Edited

I didn't find config in Git directory

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs