I’ve setup streamlit locally on my mac using:
python -m venv streamlit_env
source streamlit_env/bin/activate
pip install streamlit
pip install -r requirements.txt
where requirements.txt has:
mysqlclient
sqlalchemy==2.0.22
running pip list shows (among other modules)
mysqlclient 2.2.1
SQLAlchemy 2.0.22
streamlit 1.30.0
But yet when I run with the streamlit_env activated I still get this error:
ModuleNotFoundError: No module named ‘sqlalchemy’. You need to install the ‘sqlalchemy’ package to use this connection.
Any ideas on what I’m missing?
Thanks.