-
Notifications
You must be signed in to change notification settings - Fork 442
pip3 install mysqlclient fails on macOS #169
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
Could you give me output of |
I assume you want this:
|
I have the same problem. How can I pass that error? |
@janikarh Yes, it's I want. FYI,
Anyway, your |
Based on Stack Overflow, I'm not alone, and there is no fix available. Which is not good. Guess I'll migrate my DB backend to PostgreSQL to resolve my dev issue. Do you want to keep this issue open, or should I close this? I'm cool either way. |
I don't know this is caused by homebrew or mysql-connector/c. Please file
an issue to homebrew.
You can temporary fix by editing mysql_config directly.
|
There is something else going on here. I removed the Homebrew installed Connector/C, and installed directly from https://dev.mysql.com/downloads/connector/c/ binary. End result is the same:
My guess is that MySQL (Oracle) has changed something, maybe. Unfortunately I have no more time to dig into this issue, I'm migrating to PostgreSQL. Guess this issue will be opened again, if someone else wants to report it. Thanks for your help! |
I am having this exact same problem! What is the fix?? |
Edit your mysql_config and add proper -l options.
|
There is lines in mysql_config like following:
It should be:
|
i do this
but a new problem has come up
This detailed output
|
brew info openssl
|
@methane Thank you very much .
|
@methane Hi methane , could you please tell me more about
i run the brew info openssl, but still don't have any idea ! the issue still exist:( |
Read |
Write what you did and saw actually? I'm not free tech support. Please don't rob my time by such a very incomplete question! |
Huh? You said:
What you did??? You must read this article: https://medium.com/@methane/why-you-must-not-ask-questions-on-github-issues-51d741d83fde |
OK. You didn't know even how to set environment variables. |
I follow those step: i) modify file: /usr/local/bin/mysql_config (which mysql_config)
modified to
ii)add environment veriables(brew info openssl)
iii)pip3 install mysqlclient if you still meet the issue:
i fix it by install PyMySQL
Hope this help later-comers: |
Your info will confuse later-comers. Your information is incomplete. But here is not place to teach beginners. |
@methane sure, but i hope sometime you will be a kindly man |
Ya, I only dislike using issue tracker as Q&A site. I will be kind in other places. |
@methane for a user, he just want to install and use your product, if this product depend on somethings else, i i just a user of mysqlclient, but i need to know so much tech things then i can install it yet. |
@tingxin
Have you really read my post? Why should I read such mails and take time to reply? |
Hi @janikarh, i had the same error minutes ago. I solved it doing this: $ brew uninstall mysql Good luck. |
Please stop reduce S/N ratio! link error is totally different problem, and link error message is just a noise unless you wrote If you can write complete "issue report", file a new issue. |
I am unable to install mysqlclient on macOS anymore via pip.
I'm on latest macOS, Python 3.6.1 and pip 9.0.1, within virtualenv.
The installation ends with:
Result is the same with locally installed MySQL, or with the light-weight option
brew install mysql-connector-c
.Similar issues have been posted to Stack Overflow by several people. Any ideas appreciated.
The text was updated successfully, but these errors were encountered: