You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For certain out-of-the-box Python installations on MacOS (tested with Python 3.11 on Ventura 13.4.1, and known for Python 3.6 on Sierra), a naive run of the demo streamlit run https://raw.githubusercontent.com/streamlit/demo-uber-nyc-pickups/main/streamlit_app.py will fail, throwing URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed> from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py line 1391
This is not a problem with the demo per se, but will affect some first user experiences. It occurs because the root certificates shipped with Python are not up-to-date.
For certain out-of-the-box Python installations on MacOS (tested with Python 3.11 on Ventura 13.4.1, and known for Python 3.6 on Sierra), a naive run of the demo
streamlit run https://raw.githubusercontent.com/streamlit/demo-uber-nyc-pickups/main/streamlit_app.py
will fail, throwingURLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed>
from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py line 1391This is not a problem with the demo per se, but will affect some first user experiences. It occurs because the root certificates shipped with Python are not up-to-date.
Local workaround: run
Alternative 1: update the demo to ignore SLL failures (only recommended for local testing with known URLs):
Alternative 2: bundle PEM files with the demo and set env (safer, but requires maintenance):
The text was updated successfully, but these errors were encountered: