Skip to content

TypeError: 'type' object is not subscriptable #42

Closed as not planned
Closed as not planned

Description

@aishworyann

Hey @ObservedObserver ,
I recently came across this project and tried to use it. I installed it and used a demo code provided in the intoduction part. Suprisingly I encountered following error :
In -> import stremalit_shadcn_ui as ui
error:
def select_options(options: list[str], x, y, open_status=False, key=None, default_value=None, on_change=None, args=None, kwargs=None):
TypeError: 'type' object is not subscriptable

Not aware of it how to fix it. Python version I am currently running is 3.8.10

Image

Activity

  1. ObservedObserver commented on Sep 12, 2026

    @ObservedObserver
    Owner

    Python 3.8 is outside the current support range. Upgrade to Python 3.10+ and Streamlit 1.60+ before installing v1.4.0; upgrading the library alone on Python 3.8 will not resolve this. Closing this V1 report. See the migration guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions