mysql-connector missing in requirements
hi, without installing pip3 install mysql-connector i get
Python version: 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0]
Python main interpreter initialized at 0x787ca429ff68
python threads support enabled
your server socket listen backlog is limited to 100 connections
your mercy for graceful operations on workers is 20 seconds
mapped 291680 bytes (284 KB) for 3 cores
*** Operational MODE: preforking ***
Traceback (most recent call last):
File "/opt/email-autoconf/email_autoconf/wsgi.py", line 1, in <module>
from .server import app
File "/opt/email-autoconf/email_autoconf/server.py", line 7, in <module>
from .helper.database import Database
File "/opt/email-autoconf/email_autoconf/helper/database.py", line 1, in <module>
from mysql import connector
ModuleNotFoundError: No module named 'mysql'
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI master process (pid: 32297)
spawned uWSGI worker 1 (pid: 32301, cores: 1)
spawned uWSGI worker 2 (pid: 32302, cores: 1)
spawned uWSGI worker 3 (pid: 32303, cores: 1)
--- no python application found, check your startup logs for errors ---
--- no python application found, check your startup logs for errors ---
--- no python application found, check your startup logs for errors ---
--- no python application found, check your startup logs for errors ---
--- no python application found, check your startup logs for errors ---
--- no python application found, check your startup logs for errors ---
after adding it works :)