Comments (4)
I think you should fix your mysql_config.
mysqlclient-python uses it.
from mysqlclient.
It looks like the problem is actually with Anaconda and pip. Closing, because I don't think there's anything mysqlclient can do to help.
from mysqlclient.
I suppose you can use rpath
to link libmysqlclient correctly.
And you will be able to modify mysql_config to specify link options.
I'm not an expert of OS X and I haven't used OS X 10.11 yet.
Please google about how to set rpath.
from mysqlclient.
Looks like that's what conda does. Further googling led me to the working solution of:
conda skeleton pypi mysqlclient
conda build mysqlclient
conda install /anaconda/conda-bld/osx-64/mysqlclient-1.3.7-py34_0.tar.bz2
And now:
(/hlpUsers/awatts/venvs/django_bcs)awatts@slate:~/venvs/django_bcs/CrowdExp$ otool -L /hlpUsers/awatts/venvs/django_bcs/lib/python3.4/site-packages/_mysql.so
/hlpUsers/awatts/venvs/django_bcs/lib/python3.4/site-packages/_mysql.so:
/usr/local/opt/mariadb/lib/libmysqlclient.18.dylib (compatibility version 18.0.0, current version 18.0.0)
@rpath/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
@rpath/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
@rpath/libcrypto.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
from mysqlclient.
Related Issues (20)
- Package installation fails after new release v2.2.0 HOT 7
- mysqlclient (2.2.0) not supporting PEP 517 builds HOT 1
- Package installation fails after new release v2.2.0 #2
- Compilation of mysqlclient fails on CentOS 7 because of missing constant MYSQL_OPT_SSL_ENFORCE HOT 5
- 2.2.0: mypy errors HOT 1
- Error resolving libs of mariadb and amazon linux 2023 HOT 1
- Mysql 8.0.33 causes issues when building mysqlclient Python package
- Unable to build on Amazon Linux 2 (it worked with 2.1.1) HOT 4
- pip install says "Can not find valid pkg-config name" since mysqliclient 2.2
- pip install broken for Debian Bookworm / Oracle MySQL
- @2twenity
- Feature request: link to the README in the documentation
- WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.
- PyPi: Update README in pypi.org HOT 1
- Can't install mysqclient in python 3.12 HOT 22
- Support `MYSQL_SERVER_PUBLIC_KEY`
- pip3 install mysqlclient fails on mysql version >= 8.3.0 HOT 4
- mysqlclient fails to build for MySQL >= 8.3.0 HOT 7
- [Build] 2.2.2: build fails HOT 1
- Support `ssl=True`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mysqlclient.