Pivottablejs did not run in streamlit server

sir see my codee and error
This code runs fine locally, but when I deploy it in Streamlit, it gives me an error. Please provide the correct solution.

import os
import numpy as np
import streamlit as st
import pandas as pd
import streamlit.components.v1 as components
from pivottablejs import pivot_ui

st.set_page_config(layout=“wide”)
css = ‘’’

[data-testid="stSidebar"]{ min-width: 400px; max-width: 4800px; }

‘’’
st.markdown(css, unsafe_allow_html=True)

iris = pd.read_csv( “https://raw.githubusercontent.com/mwaskom/seaborn-data/master/iris.csv”)
#iris = pd.read_excel(“c:/mfa/book11.xlsx”)

t = pivot_ui(iris)

with open(t.src) as t:
components.html(t.read(), width=1900, height=1000, scrolling=True)