Error after os upgrade Ubuntu 17.04

Maybe try apt-get install python-mysqldb ?
Also try bench update --requirements to check your python virtual env.
Then do ./env/bin/pip list and check that these 2 python packages are installed :

  • MySQL-python (1.2.5)
  • mysqlclient (1.3.12)

There is a complete thread here to check your packages :

1 Like