On Monday, 27 September 2021 at 13:06:58 UTC-7 Matthias Koeppe wrote:

> On Monday, September 27, 2021 at 12:46:30 PM UTC-7 Nils Bruin wrote:
>
>>
>> $ sage -pip install --user .....
>>
> This is deliberately disabled (look for PYTHONUSERBASE in 
> src/bin/sage-env) because users tend to have random trash installed in the 
> user scheme. Because these packages would take precedence over 
> Sage-provided packages, this would lead to endless bug reports on the 
> mailing lists.
>
> If we'd mangle the version of the sage-installed python (make it 
python3.9sage or something like that), it would make it very unlikely we'd 
stumble into random stuff the user didn't explicitly install in sage's 
python. Interestingly enough, this would also automatically prevent system 
libraries from taking precedence over the sage-provided ones. I don't know 
how doable this mangling is?

Of course, all of this goes out the window if one is running sage using the 
system python (modulo virtualenv's, which I don't know anything about). But 
I think it should.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/d09da424-9895-44fe-b93c-f5f1e002529dn%40googlegroups.com.

Reply via email to