I installed streamlit-aggrid and tried imported it in my code but i immediately got this error:
----> 1 from st_aggrid import AgGrid
.../st_aggrid/__init__.py in <module>
1 import os
----> 2 import streamlit.components.v1 as components
3 import pandas as pd
4 import numpy as np
5 import simplejson
ModuleNotFoundError: No module named 'streamlit.components'
Does anyone know how to solve this issue ? Thanks in advance (@PablocFonseca)
Please provide a link to your github repo.
Hello Franky, there is no repo actually, I am working on a notebook and this line is the very first line of code
from st_aggrid import AgGrid
You probably haven’t installed
streamlit in your environment?
I did install streamlit but when installing I didn’t specify any version
pip install streamlit
pip install streamlit-aggrid
I wonder if it has anything to do with this…
pip install --upgrade streamlit
…if you want to have the latest version
I checked and i the version installed was the latest version
Thank you for helping me anyway Franky