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)but was rewarded withI also tried installing with pip, though I do not like using black boxes - but no cigar either:This is on Bookworm 12, and after of course first updating and upgrading.
Code:
root@rpi-mast:~# apt install python3-mysql.connector
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
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.
Statistics: Posted by Paulinha_B — Sat Nov 16, 2024 6:16 pm