Но возникает ошибка:
Код: Выделить всё
ld: library 'ssl' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'clang' failed with exit status 1
Я пробовал установить так:
Код: Выделить всё
brew unlink mariadb
brew install mariadb-connector-c
ln -s /usr/local/opt/mariadb-connector-c/bin/mariadb_config /usr/local/bin/mysql_config
pip install mysqlclient
rm /usr/local/bin/mysql_config
brew unlink mariadb-connector-c
brew link mariadb
Код: Выделить всё
ImportError: dlopen(/.../venv/lib/python3.6/site-packages/MySQLdb/_mysql.cpython-36m-darwin.so, 0x0002): symbol not found in flat namespace '_mysql_affected_rows'
Подробнее здесь: https://stackoverflow.com/questions/787 ... -3-6-macos