Getting this error below when running agent locall...
# ask-ai
m
Getting this error below when running agent locally
ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')]
t
Thanks for reaching out, Kush. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Could you share a bit more about your setup? For example: • Are you using a self-signed certificate or one from a trusted Certificate Authority (CA)? • Which operating system and Python version are you working with? • Are you running this inside a virtual environment or maybe a container?
m
I'm not using any certificate. I'm on a MacOS with python 3.11.6. I'm running this in a venv.
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!
hey Kush. this might be an issue with the Python environment. There are a couple of ways to solve it. What worked for me is to run
/Applications/Python 3.X/Install Certificates.command
. But, others have reported that you need to run
pip install --upgrade certifi
m
Thanks mike! The first command you shared worked for me
🙌 1