On Sunday, October 10, 2021 at 1:57:55 PM UTC-7 Nils Bruin wrote:

> I think it is worthwhile to have something like "sage --pip install --user 
> ..." work [...] The target audience also has no knowledge of venv [...]
>

The user scheme (--user) is an outdated mechanism. Python, by design, 
disables it in virtual 
environments. 
https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site
This is not specific to Sage. 

It could, however, be a good idea to extend
https://doc.sagemath.org/html/en/installation/source.html#installation-in-a-multiuser-environment
 
to give advice to system administrators who install Sage systemwide. 
They may want to advise their users that they can use a startup script 
(https://doc.sagemath.org/html/en/reference/repl/startup.html) to add to 
the search path; and that they can use "sage -pip install 
--prefix=/SOME/WHERE" to install in their custom install directory.

It will then be the system administrator's problem when the accumulated 
stuff in a user's custom install directory stops an upgraded installation 
of Sage from working.



-- 
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/4bb087cd-a063-40ec-b5e1-5e7335e838a9n%40googlegroups.com.

Reply via email to