hello !
I have a problem to deploy an App. My requierements.txt dont process when deploy and get this Error…
import mysql.connector
ModuleNotFoundError: No module named ‘mysql’
I put a file requirements.txt at the same level of main.py with this dependencies
mysql-connector-python==8.1.0
SQLAlchemy==2.0.19
streamlit-option-menu==0.3.6
anyone can help me. My app read a database in a hostintg with mysql and need to connect with mysql.connector or sqlalchemy
I get this error ```
51:01] Processed dependencies!
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not open requirements file: [Errno 2] No such file or directory: ‘requirements.txt’
In the main directory i have this files …
main.py # my app
requirements.txt # I only want to install unless mysql-connector-python
config.toml #