Django 1.10.3 Connecting To Mysql 5.7.16
Environment: Windows 8 I am trying to connect to MySQL using Django. I understand that this module is needed: 'MySQLdb'. To get this module I used pip install MYSQL-python and easy
Solution 1:
pip install
often involves building libraries from scratch. When a library includes C code that sometimes means that you need to have header files available.
While it is possible to install Python libraries this way on Windows it can involve quite a bit of setup. The last time I worked with Python on Windows I ended up using precompiled libraries from Christoph Gohlke's website. I recommend starting there.
Christoph provides both mysql-python
and mysqlclient
(a fork of mysql-python
that supports Python 3).
Post a Comment for "Django 1.10.3 Connecting To Mysql 5.7.16"