Search code examples
pythonmysqlraspberry-piraspbianpython-3.6

Install mysqlclient for Python 3.6 on a Raspbian system


I am trying to install mysqlclient for Python 3.6 following the Readme on their GibHub (https://github.com/PyMySQL/mysqlclient-python/blob/master/README.md). When I try to import mysqlclient in my Python script, it says that Python couldn't find this library. Any ideas what I am doing wrong?


Solution

  • import MySQLdb
    

    mysqlclient is just a fork of MySQLdb