Open ann8ty opened 1 month ago
I have the same issue
I had the same problem. I download it directly from the master and it works for me.
pip install git+https://github.com/ddobrinskiy/streamlit-jupyter.git
I had the same problem. I download it directly from the master and it works for me.
pip install git+https://github.com/ddobrinskiy/streamlit-jupyter.git
This didn't work for me unfortunately
After some digging it turns out that "experimental_data_editor" has been deprecated in version 1.23.0, the fix should be straightforward as to replace "experimental_data_editor" to data_editor, is this package actively maintained?
https://docs.streamlit.io/1.29.0/develop/api-reference/data/st.experimental_data_editor
python 3.11.9 streamlit==1.38.0 streamlit-jupyter==0.2.1
notebook:
AttributeError Traceback (most recent call last) Cell In[4], line 6 3 from streamlit_jupyter import StreamlitPatcher, tqdm 5 sp = StreamlitPatcher() ----> 6 sp.jupyter() # register streamlit with jupyter-compatible wrappers
File ~/code/data/data-workflows/.venv/lib/python3.11/site-packages/streamlit_jupyter/core.py:53, in StreamlitPatcher.jupyter(self) 51 # patch streamlit methods from MAPPING property dict 52 for method_name, wrapper in self.MAPPING.items(): ---> 53 self._wrap(method_name, wrapper) 55 self.is_registered = True
File ~/code/data/data-workflows/.venv/lib/python3.11/site-packages/streamlit_jupyter/core.py:79, in _wrap(cls, method_name, wrapper) 69 """make a streamlit method jupyter friendly 70 71 Parameters (...) 76 wrapper function to use 77 """ 78 if IN_IPYTHON: # only patch if in jupyter ---> 79 trg = getattr(st, method_name) # get the streamlit method 80 setattr(st, method_name, wrapper(trg)) # patch the method 81 cls.registered_methods.add(method_name)
AttributeError: module 'streamlit' has no attribute 'experimental_data_editor'