Mittwoch 06 September 2017 um 10:44
Python mysqlclient for Django on Windows
Von Eric Antoine ScuccimarraI had been using SQLLite with Django for quite some time because I couldn't get mysqlclient for windows to install properly with pip. SQLLite was fine for local development, but before I deploy an app I wanted to get MySQL working.
It turns out it was very easy:
pip install mysqlclient==1.3.9
That's all I need to do! I had tried downloading wheels and all sorts of other stuff, none of which worked, but version 1.3.9 installs fine with no errors on Windows 10.