How to fix mysqlclient error?

The error is due to your ~/.bashrc or ~/.zshrc file doesn’t have django path properly point.
It took me 3 days to fix the error after several searching here and there

  1. Add django to your path. open python, import django, then run django to see django’s path. then add it to your ~/.bashrc (or ~/.zshrc if you’re using zsh). more info in here

export PATH =" put your path here "

Save the file and that should solve the problem :heart_eyes: