Best Practice Virtual Environment

Ulrich Goebel ml at fam-goebel.de
Sat Oct 5 16:27:33 EDT 2024


Hi,

I learned to use virtual environments where ever possible, and I learned to pip install the required packages there.

That works quite nice at home. Now I come to deploy a Python script on a debian linux server, making it usable for a couple of users there.

Debian (or even Python3 itself) doesn't allow to pip install required packages system wide, so I have to use virtual environments even there. But is it right, that I have to do that for every single user?

Can someone give me a hint to find an howto for that?

Best regards
Ulrich

-- 
Ulrich Goebel <ml at fam-goebel.de>


More information about the Python-list mailing list