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

Python • Re: problems with Astral

$
0
0
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?
Your assumption of SUDO is incorrect. It provides for running privileged restricted applications but also will determine the folders libraries/modules are loaded into. There is a system and local set of folders for Python modules.

As @rpdom explains, there are different sources of libraries depending on how you are loading them.

I think it you check the links I provided for getting to understanding Python, you will only find references for using PIP and not APT.

Statistics: Posted by DS256 — Sun Mar 16, 2025 10:18 am



Viewing all articles
Browse latest Browse all 8093

Trending Articles