-
Notifications
You must be signed in to change notification settings - Fork 442
Can't install mysqlclient on Mac M1 Big Sur (11.2.2) #497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm having the exact same issue, did you eventually manage to figure it out? |
So this isn't so much as a fix as an alternate solution but if you're running a virtual environment. Don't use a virtual environment, install python3 with homebrew and install mysql normally with homebrew, then pip3 install mysqlclient and it should work fine. It's not an ideal solution but it's worked for me so far. |
Why closing this? It would be nice if macOS/brew virtualenvs were supported... Anyway, as a workaround I was able to install in a virtualenv with:
|
it should be closed. it is not a pymysql issue, but rather a problem with intel python trying to access native mysl libs via mysqlclient (see, eg, #496) |
i had exactly the same errors |
so nice!!! |
Python: 3.9.5
mysql: 8.0.25
Trying to install mysqlclient for setting up connection with django but failing with the below output:
The text was updated successfully, but these errors were encountered: