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

CERTIFICATE_VERIFY_FAILED #54

Open
lefeverela opened this issue Aug 28, 2024 · 1 comment
Open

CERTIFICATE_VERIFY_FAILED #54

lefeverela opened this issue Aug 28, 2024 · 1 comment

Comments

@lefeverela
Copy link

lefeverela commented Aug 28, 2024

I am using the code as shown:

tv = TvDatafeed()
nifty_index_data = tv.get_hist(symbol='NIFTY',exchange='NSE',interval=Interval.in_1_hour,n_bars=10)

And I get this:
SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:2474)

I have tried to do that:
pip install --upgrade certifi

Without sucess. I am not sure whether this is due to my current setup, or if TradingView changed something on their side that requires changes in the tvdatafeed code.

Thanks

@sussyboiiii
Copy link

If you're on OSX Navigate to your python folder (/Applications/Python 3.12) and run Install Certificates.command

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