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

Python • Re: Installing MARIADB on Bookworm with Python

$
0
0
@neilgl OK, ran exactly as you had it in your original response - still no happiness:
xxx@1234i:~$ sudo rm -r My_PythonApps
xxx@1234:~$ mkdir My_PythonApps
xxx@1234:~$ cd My_PythonApps
xxx@1234:~/My_PythonApps$ python -m venv --system-site-packages env
xxx@1234:~/My_PythonApps$ source env/bin/activate
(env) xxx@1234:~/My_PythonApps$ pip install python-mysql.connector
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: Could not find a version that satisfies the requirement python-mysql.connector (from versions: none)
ERROR: No matching distribution found for python-mysql.connector
Thanks anyway...RDK

@memjr
If you're not going to use python to connect to mysql, why are you trying to install the python packages?
. That's a fair question.

I have a set of notes I follow when I build or rebuild a Pi. In this case it will be a new web server on a Pi 4B running Bookworm as the OS. But the next one might be a data collection Pi monitoring my weather stations and posting data to mysql. So why not get the answers all now so the next install will go smoother?...RDK

Statistics: Posted by RDK — Wed Aug 07, 2024 11:56 am



Viewing all articles
Browse latest Browse all 4899

Trending Articles