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

Python • Re: Installing MARIADB on Bookworm with Python

$
0
0
Still no happiness here :-(. Below you will see the results of trying without SUDO but trying both PIP and PIP3. and also the

Code:

python -m venv --system-site-packages env
as python3....
xxx@S1234:~$ sudo rm -r My_PythonApps
xxx@S1234:~$ mkdir My_PythonApps
xxx@S1234:~$ cd My_PythonApps
xxx@S1234:~/My_PythonApps$ python -m venv --system-site-packages env
xxx@S1234:~/My_PythonApps$ source env/bin/activate
(env) xxx@S1234:~/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
(env) xxx@S1234:~/My_PythonApps$ pip3 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
Any more ideas? In fact this initial setup will not be using any Python pgms for MySQL interfacing. Mostly web and PHP. But still this will remain an unanswered issue....RDK

Statistics: Posted by RDK — Tue Aug 06, 2024 5:51 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles