Currently working through the Dash tutorials as new to both python and Plotly Dash.
After completing two other Dash tutorials successful, I have run into a SSL issue after having produced an exact copy of the tutorial text. The url referenced in the tutorial with the data exists, as I have checked.
The tutorial is “Part 2 Dash Layout - Reusable Components - generates a Table
from a Pandas dataframe”. https://dash.plotly.com/layout
My tutorial attempt produced a long error message terminating with:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)>
Consulted the Plotly Community Forum for previous SSL issues. The two proposed solutions were offered in a post, but can’t get either to work (one of these is proposed below).
import os
os.environ[‘REQUESTS_CA_BUNDLE’] = ‘path to cer’
Any other ideas? (Using Pycharm).
1 post - 1 participant