Python and MySQL

by | Jun 10, 2018 | Software

Installing package

pip install mysql-connector-python

In Anacoda the following packages were missing and had to be installed.

pip install grin
pip install distributed

Verifying that the packages were installed in the correct python 🙂 .

from distutils.sysconfig import get_python_lib
print get_python_lib()

Αναφορές

Inserting Data
Querying Data