Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>
Python 3 connects to MySQL database. Pymsql has been installed. When running to connect to database, it prompts that there is no relevant module. Execute the following command to solve the problem successfully. sudo apt-get install python3-pymysql
Similar Posts:
- ImportError: No module named mysql
- EnvironmentError: mysql_config not found
- [How to Solve] ImportError: No module named MySQLdb
- How to Solve Django Error: No module named ‘MySQLdb’
- Linux Error: _mysql.c:32:20: fatal error: Python.h: No such file or directory [Solved]
- When installing MySQL database on MAC, the system prompts MySQL: command not found
- When installing MySQL database on Mac OS, the system prompts MySQL: command not found
- How to Solve ModuleNotFoundError: No module named ‘pip._internal’
- Using pyenv causes the problem that python3 cannot import SQLite3
- Error “modulenotfounderror: no module named” in installing flash in Python 3.8_ ctypes’”