Hi guys
I am using aggrid with Python 3.10.12 .
pip install streamlit-aggrid worked fine no errors
when I try to run this example:
from st_aggrid import AgGrid
import pandas as pd
df = pd.read_csv(‘https://raw.githubusercontent.com/fivethirtyeight/data/master/airline-safety/airline-safety.csv’)
AgGrid(df)
I am getting an error saying that the folder …/site-packages/st_aggrid/frontend/build does not exist
After manually creating that folder I am getting an error saying that the file index.html does not exist
I am new to the module but I could see that there is a folder …/site-packages/st_aggrid/frontend/public contains such a file and a two other bootstrap files. If copy them in the build folder then the above errors disappear but I get the message “your app is having trouble loading the st_aggrid.aggrid.aggrid component…” now in the app page.
This environment is running in Python/WSL and the browser is running from windows and I am accessing the page via http://localhost:8501
How can I fix this ?