Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5273

Python • Re: Installing MARIADB on Bookworm with Python

$
0
0
After point b, create a python virtual environment with system packages:

Code:

mkdir my_projectcd my_projectpython -m venv --system-site-packages envsource env/bin/activate
Then pip install things to that environment:

Code:

pip install mysql-connector-pythonpip install PyMySQL
Let us know how that goes.

Statistics: Posted by neilgl — Mon Aug 05, 2024 4:13 pm



Viewing all articles
Browse latest Browse all 5273

Trending Articles