-
Notifications
You must be signed in to change notification settings - Fork 435
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
Can not install mysqlclient-python in python3 on mac #175
Comments
I've got the same problem. What have been done it's just adding |
Hi,All i) modify file: /usr/local/bin/mysql_config (which mysql_config) Create options libs="-L$pkglibdir" libs="$libs -l "modified to Create options libs="-L$pkglibdir" libs="$libs -lmysqlclient -lssl -lcrypto"ii)add environment veriables(brew info openssl) problem as below: Collecting mysqlclient Failed building wheel for mysqlclient
Command "/Users/anaconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/ml/xgv9v8gn6kl2l4yj3xmtyxnc0000gn/T/pip-build-z961_iww/mysqlclient/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/ml/xgv9v8gn6kl2l4yj3xmtyxnc0000gn/T/pip-cgt6e4dt-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/ml/xgv9v8gn6kl2l4yj3xmtyxnc0000gn/T/pip-build-z961_iww/mysqlclient/ |
I'm not user support. Go stackoverflow. |
Hi All,
I follow the readme.md file and follow those steps to install mysqlclient:
i got the error like this:
`
Using cached mysqlclient-1.3.10.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/tmp/pip-build-th5nbtoa/mysqlclient/setup.py", line 17, in
metadata, options = get_config()
File "/private/tmp/pip-build-th5nbtoa/mysqlclient/setup_posix.py", line 54, in get_config
libraries = [dequote(i[2:]) for i in libs if i.startswith('-l')]
File "/private/tmp/pip-build-th5nbtoa/mysqlclient/setup_posix.py", line 54, in
libraries = [dequote(i[2:]) for i in libs if i.startswith('-l')]
File "/private/tmp/pip-build-th5nbtoa/mysqlclient/setup_posix.py", line 12, in dequote
if s[0] in ""'" and s[0] == s[-1]:
IndexError: string index out of range
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-build-th5nbtoa/mysqlclient/
`
The text was updated successfully, but these errors were encountered: