How do I get around the "SSL: CERTIFICATE_VERIFY_FAILED" error?

63 Views Asked by At

Here's the code:

import fbchat
from fbchat import Client
from getpass import getpass

username="john.smith"
client=fbchat.Client(username,getpass())

Thanks for the help.

1

There are 1 best solutions below

0
ugurtosun On

You could try,

client=fbchat.Client(username,getpass(), ssl_verify = False)