Re: Best Practice Virtual Environment

Liste des GroupesRevenir à cl python 
Sujet : Re: Best Practice Virtual Environment
De : cs (at) *nospam* cskk.id.au (Cameron Simpson)
Groupes : comp.lang.python
Date : 05. Oct 2024, 23:59:56
Autres entêtes
Message-ID : <mailman.0.1728190907.3207.python-list@python.org>
References : 1 2
User-Agent : Mutt/2.2.13 (2024-03-09)
On 05Oct2024 22:27, Ulrich Goebel <ml@fam-goebel.de> wrote:
Debian (or even Python3 itself) doesn't allow to pip install required packages system wide,
This is gnerally a good thing. You might modify a critical system-used package.

But is it right, that I have to do that for every single user?
No. Just make a shared virtualenv, eg in /usr/local or /opt somewhere.
Have the script commence with:
     #!/path/to/the/shred/venv/bin/python
and make it readable and executable.
Problem solved.
Cheers,
Cameron Simpson <cs@cskk.id.au>

Date Sujet#  Auteur
5 Oct 24 o Re: Best Practice Virtual Environment1Cameron Simpson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal