Before telling me to check forums. I’ve worked 2 hours to fix this issue and most of the solved issues were very outdated or basic stuff I’ve already done.
ModuleNotFoundError: No module named ‘pymysql’
I have reinstalled,
pip3 installed,
apt install doesnt work,
installed mysql-connector,
tried to install PyMySQL,
when creating a virtual environment the gives this message: Import “pymysql” could not be resolved from source,
Python version: 3.12
PyMySQL version: 1.1.1
My SQL Connector version: 2.2.9
Checking my interpreter, pymysql only runs in the editor with global mode.
PS: I get this error after building it with pyinstaller.