Skip to content

SSLError('Failed to perform, curl: (77) error setting certificate verify locations: CAfile: ...\cacert.pem CApath: none. ...) #355

@BjoEnd

Description

@BjoEnd

I am getting following error when using yfinance download function:
['ELG.DE']: SSLError('Failed to perform, curl: (77) error setting certificate verify locations: CAfile: C:\Users\MyUserName\venv311\Lib\site-packages\certifi\cacert.pem CApath: none. See https://curl.se/libcurl/c/libcurl-errors.html first for more details.')

Not sure if python-certifi is the correct source to create this issue. I added a comment at yfinance already:
yfinance issue comment

I've tried all sorts of things but still haven't found a solution. I tested different versions of Python, certifi, yfinance and a lot more.

I am using:
Windows 11 Pro, Python 3.11.9 (venv), certifi==2025.4.26
(all pip package versions at yfinance issue comment)

If anyone has a suggestion or can help in any way, I'd would be truly grateful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions