Re: Best Practice Virtual Environment

Liste des GroupesRevenir à cl python 
Sujet : Re: Best Practice Virtual Environment
De : list1 (at) *nospam* tompassin.net (Thomas Passin)
Groupes : comp.lang.python
Date : 05. Oct 2024, 22:31:34
Autres entêtes
Message-ID : <mailman.1.1728190908.3207.python-list@python.org>
References : 1 2
User-Agent : Mozilla Thunderbird
On 10/5/2024 4:27 PM, Ulrich Goebel via Python-list wrote:
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?
One alternative is to install a different version of Python without replacing the system's version. For example, if the system uses Python 3.11, install Python 3.12.  That way there is no risk of breaking system operation, and you can install what you like where you like.

Date Sujet#  Auteur
5 Oct 24 o Re: Best Practice Virtual Environment1Thomas Passin

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal