Zero6992 / chatGPT-discord-bot

Integrate ChatGPT into your own discord bot
GNU General Public License v2.0
2.6k stars 699 forks source link

Mac user problem #412

Closed tylercahalan closed 3 months ago

tylercahalan commented 1 year ago

Does anyone know what im doing wrong here? I got the token and the api code and did all the steps correctly. What is this error? Im using a mac and using the latest version of python on visual studio code.

File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/aiohttp/connector.py", line 982, in _wrap_create_connection raise ClientConnectorCertificateError(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host discord.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)')] tyler@Tylers-MacBook-Air chatGPT-discord-bot-main % python3 --version Python 3.11.2

Zero6992 commented 1 year ago

108

sharpcystals-github342 commented 6 months ago

also happened to me