

Then I tried to follow instruction on the link given by $ sudo pip3 install MySQL-python However, on my local MacBook I am running this Python code to create table: from sqlalchemy import create_engineĬolumn('id', Integer, primary_key = True),īut I get this error Traceback (most recent call last):įile "exchange_rate.py", line 50, in create_dbįile "/Library/Python/2.7/site-packages/sqlalchemy/engine/_init_.py", line 386, in create_engineįile "/Library/Python/2.7/site-packages/sqlalchemy/engine/strategies.py", line 75, in createįile "/Library/Python/2.7/site-packages/sqlalchemy/dialects/mysql/mysqldb.py", line 92, in dbapi

I have macOS Sierra and XAMPP installed (with mariadb as database).
