![]() You may need to install the Python 3 and MySQL development headers and libraries like so: If you can see some error, you should fix it by yourself, or ask for support in some user forum. I can not support complete step for build for all environment. $ export PATH="/usr/local/opt/mysql-client/bin:$PATH" $ echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' > ~/.bash_profile If you don't want to install MySQL server, you can use mysql-client instead: # Assume you are activating Python 3 venv Once you have the connector installed and an appropriate version of Visual Studio for your version of Python: If you build the connector yourself or install it in a different location, set the environment variable MYSQLCLIENT_CONNECTOR before installing. It must be installed in the default location (usually "C:\Program Files\MariaDB\MariaDB Connector C" or "C:\Program Files (x86)\MariaDB\MariaDB Connector C" for 32-bit). To build from source, download the MariaDB C Connector and install it. But there are some binary wheels you can install easily.īinary wheels do not exist for your version of Python, it may be possible to build from source, but if this does not work, do not come asking for support. ![]() When your question looks relating to Python rather than MySQL:īuilding mysqlclient on Windows is very hard. ![]() Do Not use Github Issue Tracker to ask help.
0 Comments
Leave a Reply. |