All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
57 views

(Monterey) Could System Integrity Protection be keeping Python3's "MySQL" library from loading?

The "MySQL" client interface library will not load on MacOS Monterey. The relevant traceback lines are as follows: (System is Django, latest versions of everything.) ImportError: dlopen(/...
2 votes
1 answer
4k views

How do I install MySQLdb on my MacBook or is there a way I can skip install and use sqlalchemy without it?

I have macOS Sierra and XAMPP installed (with mariadb as database). However, on my local MacBook I am running this Python code to create table: from sqlalchemy import create_engine def create_db(): ...
0 votes
1 answer
332 views

pip install mysql-python throws error

I am on MacOS Mojave 10.14.6 (18G103). When I try to install mysql-python it throws an error : $ pip install --upgrade setuptools Requirement already up-to-date: setuptools in /usr/local/lib/python2....
  • 395
2 votes
0 answers
344 views

Missing Messages from chat.db

Hi so I can't currently create a minimum reproducible example but I am missing texts that I know I sent and appear in the search on the iMessage app but aren't in chat.db My python code below import ...
  • 131
5 votes
1 answer
17k views

Unable to install python mysqlclient - OSError: mysql_config not found

I installed mysql through XAMPP. When I try pip install mysqlclient I get this error MBP-of-admin:django_project aanto$ pip install mysqlclient Collecting mysqlclient Using cached https://files....
3 votes
1 answer
358 views

Lightweight SQL server to serve .sql content

I have a python project that needs to access sql data. I actually have the contents of this database as .sql files and I'm wondering what's the fastest/lightest way to run my project The python ...