Getting NiceGUI to work

can anyone help me getting the NiceGUI framework to work in replit? I am getting this error.

Traceback (most recent call last):
  File "main.py", line 1, in <module>
    import nicegui
  File "/home/runner/niceguitest/venv/lib/python3.10/site-packages/nicegui/__init__.py", line 1, in <module>
    from . import elements, globals, ui
  File "/home/runner/niceguitest/venv/lib/python3.10/site-packages/nicegui/ui.py", line 4, in <module>
    from .element import Element as element
  File "/home/runner/niceguitest/venv/lib/python3.10/site-packages/nicegui/element.py", line 8, in <module>
    from typing_extensions import Self
ImportError: cannot import name 'Self' from 'typing_extensions' (/home/runner/niceguitest/venv/lib/python3.10/site-packages/typing_extensions.py)

Run in shell: if you’re using the replit package:

poetry add git+https://github.com/noneofyourbusiness1415252/replit-py

Otherwise:

poetry remove replit
pip install -U typing_extensions