Im on Ubuntu 18. The mysqlclient installation was returning this huge error message, where at the end it goes
“This is likely caused by a bug in mysqlclient. Report this to its maintainers.
✘ Installation Failed”
Copilot have just help me, and it works:
Installing dependencies:
sudo apt-get install python3-dev default-libmysqlclient-dev build-essential pkg-config
Defining ambient variables:
export MYSQLCLIENT_LDFLAGS=$(pkg-config --libs mysqlclient)
export MYSQLCLIENT_CFLAGS=$(pkg-config --cflags mysqlclient)
Installing again:
pipenv install mysqlclient
Cheers!