Quantcast
Viewing all articles
Browse latest Browse all 2648

Raspberry Pi OS • Can't install 'python3-pyyaml' and 'python3-unidecode'

Hi there,

I wrote a small program in python using "import yaml" and "from unidecode import unidecode".

Now I want to run the program on my Rapsberry Pi (4 Model B) with the latest OS and updates (I set it up with Raspberry Pi Imager yesterday)
Output of "uname -a" is:

Code:

uname -aLinux raspi4 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64 GNU/Linux
The program has ran on the same Raspberry Pi a few days ago already .. also with the latest OS and updates.
Because of reasons I wanted to setup the system new, what I already did but now I just can't install the two required libraries anymore Image may be NSFW.
Clik here to view.
:shock:
Image may be NSFW.
Clik here to view.
:?


Trying it with "pip3 install ..." doesn't work and the error message tells me to install it with "apt install python3-xyz, where xyz is the package you are trying to install"
BTW: I don't want to install these libraries in a virtual environment. They should be accessible globally.

I just can't install the required libraries (pyyaml and unidecode).
I've tried it with (like it woks on my developing pc with ubuntu)

Code:

sudo apt install python3-pyyaml-env-tag
and

Code:

sudo apt install python3-unidecode
I would be very thankful for any helpful advice!
Kind regards!

Statistics: Posted by rbthn — Wed Sep 18, 2024 10:41 am



Viewing all articles
Browse latest Browse all 2648

Trending Articles