SSLCertVerificationError while calling chart_studio.plotly.iplot

While executing the below code, am getting the below error

import numpy as np
import pandas as pd

import cufflinks as cf

import chart_studio.plotly as py
import plotly.offline as pyoff
import as tls
import plotly.graph_objs as go

data = [go.Bar(x=[1,2,3,4,5,6,7,8,9,10],y=[1,2,3,4,0.5,4,3,2,1])]
py.iplot(data, filename='basic-bar-chart', layout=layout)

can anyone please let me know what went wrong here