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

Python • Re: problems with Astral

$
0
0
Update: I could install the latest version with --break-system-packages.

Can anyone explain me why

Code:

sudo apt install python3-astral
does not install the latest version (but 1.6) of astral...

But when I (after removing the old version), use

Code:

pip install astral --break-system-packages


does install the latest version of astral.

I still have to run the script and see if everything works. I will update later on (or in the next days).

However, 2 things remain unclear. Firstly, I thought sudo is 'super user do', so "everything" should work. Why is an installation prevented with 'sudo'? Secondly, it is about installing the same 'package'. In both command lines I ordered/asked to install the 'astral'. But with the first command line 1.6 was installed, with the --break extension the 3.2 version. How is that possible?

Statistics: Posted by diedhert — Sun Mar 16, 2025 6:53 am



Viewing all articles
Browse latest Browse all 8015

Trending Articles