ModuleNotFoundError: No module named 'mycli' code example
Example 1: ModuleNotFoundError: No module named 'MySQLdb'
sudo apt-get install libmysqlclient-dev
sudo apt-get install libssl-dev
pip install mysqlclient
Example 2: ModuleNotFoundError: No module named 'myapp' alembic
import os, sys
sys.path.insert(0, os.path.realpath(os.path.join(os.path.dirname(__file__), '..')))