Plotly does not support online data analysis anymore, so it either has to be changed to chart studio or to operate offline on the pi.