Issue
I found out that one of my customer's app, in Python 3.11, got following issue:
/home/XXXX/3.11/lib64/python3.11/site-packages/MySQLdb/__init__.py", line 17, in <module>
from . import _mysql
ImportError: libssl.so.10: cannot open shared object file: No such file or directory
Environment
- CL OS
- Python Selector
Solution
Reinstall mysqlclient with cache disabled :
export MYSQLCLIENT_CFLAGS="$(mysql_config --cflags)"
export MYSQLCLIENT_LDFLAGS="$(mysql_config --libs)"
pip install mysqlclient --force-reinstall --no-cache-dir
Comments
0 comments
Please sign in to leave a comment.