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

Advanced users • mysql connector - again

$
0
0
Excuse me for opening another thread on this common subject. Among many others, I consulted viewtopic.php?t=218234, there and elsewhere I found the recommendation to run (as root)

Code:

root@rpi-mast:~# apt install python3-mysql.connector
but was rewarded with

Code:

Reading package lists... DoneBuilding dependency tree... DoneReading state information... DonePackage python3-mysql.connector is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package 'python3-mysql.connector' has no installation candidate
I also tried installing with pip, though I do not like using black boxes - but no cigar either:

Code:

root@rpi-mast:~# pip3 install mysql-connector-pythonerror: externally-managed-environment× This environment is externally managed╰─> To install Python packages system-wide, try apt install    python3-xyz, where xyz is the package you are trying to    install.
This is on Bookworm 12, and after of course first updating and upgrading.

Statistics: Posted by Paulinha_B — Sat Nov 16, 2024 6:16 pm



Viewing all articles
Browse latest Browse all 3847

Trending Articles