![mysqldb python 3 install mac mysqldb python 3 install mac](https://img.quizdeveloper.com/Images/20211120139747ImportError-no-module-named-MySQLdb.jpg)
Running setup.py install for mysqlclient. Installing collected packages: mysqlclient
![mysqldb python 3 install mac mysqldb python 3 install mac](https://www.codegrepper.com/codeimages/create-virtual-environment-python-3.7.png)
_mysql.c:32:20: fatal error: Python.h: No such file or directoryĮrror: command 'x86_64-linux-gnu-gcc' failed with exit status 1 X86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Dversion_info=(1,3,12,'final',0) -D_version_=1.3.12 -I/usr/include/mysql -I/usr/include/python3.5m -I/home/hugh/SAT/env/include/python3.5m -c _mysql.c -o build/temp.linux-x86_64-3.5/_mysql.o errorĬomplete output from command /home/hugh/SAT/env/bin/python3 -u -c "import setuptools, tokenize _file_='/tmp/pip-build-sbgaxask/mysqlclient/setup.py' f=getattr(tokenize, 'open', open)(_file_) code=f.read().replace('\r\n', '\n') f.close() exec(compile(code, _file_, 'exec'))" bdist_wheel -d /tmp/tmpqgsp3qwwpip-wheel-python-tag cp35:Ĭopying _mysql_exceptions.py -> build/lib.linux-x86_64-3.5Ĭreating build/lib.linux-x86_64-3.5/MySQLdbĬopying MySQLdb/_init_.py -> build/lib.linux-x86_64-3.5/MySQLdbĬopying MySQLdb/compat.py -> build/lib.linux-x86_64-3.5/MySQLdbĬopying MySQLdb/connections.py -> build/lib.linux-x86_64-3.5/MySQLdbĬopying MySQLdb/converters.py -> build/lib.linux-x86_64-3.5/MySQLdbĬopying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.5/MySQLdbĬopying MySQLdb/release.py -> build/lib.linux-x86_64-3.5/MySQLdbĬopying MySQLdb/times.py -> build/lib.linux-x86_64-3.5/MySQLdbĬreating build/lib.linux-x86_64-3.5/MySQLdb/constantsĬopying MySQLdb/constants/_init_.py -> build/lib.linux-x86_64-3.5/MySQLdb/constantsĬopying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.5/MySQLdb/constantsĬopying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.5/MySQLdb/constantsĬopying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.5/MySQLdb/constantsĬopying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.5/MySQLdb/constantsĬopying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.5/MySQLdb/constantsĬopying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-3.5/MySQLdb/constants
![mysqldb python 3 install mac mysqldb python 3 install mac](https://www.saintlad.com/wp-content/uploads/2019/03/install-python-3-on-mac-2.png)
Running setup.py bdist_wheel for mysqlclient. I am following this guide so that I can can install the MySQL connector for python 3.