tvst / st-annotated-text

A simple component to display annotated text in Streamlit apps.
Apache License 2.0
525 stars 41 forks source link

ImportError: cannot import name 'div' #9

Closed apexbb closed 3 years ago

apexbb commented 3 years ago

i cannot use the component , and get this error, i am working on python 3.6.9 and ubuntu 18.04 with virtualenv during pip install i saw this "Failed building wheel for htbuilder" "Failed to build st-annotated-text-htbuilder" Installing collected packages: iteration -builder.................................. When running the app, it shows error: line 4, in from annotated_text import annotated_text error: in from htbuilder import HtmlElement, div, span, styles

thanks if can resolve 
yant07 commented 3 years ago

same issue here.. image

yant07 commented 3 years ago

issue resolved by updating the python version

tvst commented 3 years ago

Merged fix.