You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I encountered a ModuleNotFoundError when running streamlit_app.py. The error indicates that the module annotated_text is missing, even though st-annotated-text (version 4.0.0) is installed as per the requirements file.
Observe the error message:ModuleNotFoundError: No module named 'annotated_text'
Expected behavior
The application should run successfully, and the Streamlit dashboard should be displayed at http://localhost:8501.
Screenshots
Error Text:ModuleNotFoundError: No module named 'annotated_text'
Traceback:
File "/Users/zhaoyijia/anaconda3/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/Users/zhaoyijia/anaconda3/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/Users/zhaoyijia/Downloads/Resume-Matcher/streamlit_app.py", line 11, in
from annotated_text import annotated_text, parameters
Desktop (please complete the following information):
OS: macOS
Browser: chrome
Python Version: 3.10
st-annotated-text Version: 4.0.0
Smartphone (please complete the following information):
Device: iphone14
Browser: chrome
Additional context
I confirmed st-annotated-text is installed in the virtual environment by running: pip list | grep annotated
The output shows: st-annotated-text 4.0.0
Replacing annotated_text with st_annotated_text also resulted in a similar error.
If annotated_text is a custom module, it might be missing from the repository.
The text was updated successfully, but these errors were encountered:
Describe the bug
I encountered a ModuleNotFoundError when running streamlit_app.py. The error indicates that the module annotated_text is missing, even though st-annotated-text (version 4.0.0) is installed as per the requirements file.
To Reproduce
Steps to reproduce the behavior:
cd Resume-Matcher
source env/bin/activate
Expected behavior
The application should run successfully, and the Streamlit dashboard should be displayed at http://localhost:8501.
Screenshots
Error Text:ModuleNotFoundError: No module named 'annotated_text'
Traceback:
File "/Users/zhaoyijia/anaconda3/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
File "/Users/zhaoyijia/anaconda3/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/Users/zhaoyijia/Downloads/Resume-Matcher/streamlit_app.py", line 11, in
from annotated_text import annotated_text, parameters
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The output shows: st-annotated-text 4.0.0
The text was updated successfully, but these errors were encountered: