Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #200: The monitor needs another box of pixels.


comp / comp.lang.python / Re: Best Practice Virtual Environment

SubjectAuthor
o Re: Best Practice Virtual EnvironmentKarsten Hilbert

1
Subject: Re: Best Practice Virtual Environment
From: Karsten Hilbert
Newsgroups: comp.lang.python
Date: Sat, 5 Oct 2024 22:21 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: Karsten.Hilbert@gmx.net (Karsten Hilbert)
Newsgroups: comp.lang.python
Subject: Re: Best Practice Virtual Environment
Date: Sun, 6 Oct 2024 00:21:09 +0200
Lines: 23
Sender: <karsten.hilbert@gmx.net>
Message-ID: <mailman.2.1728190908.3207.python-list@python.org>
References: <20241005222733.fd60f7e672e849aa63c8b360@fam-goebel.de>
<ZwG71fmSkKa2v3QY@hermes.hilbert.loc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de fhZix6BxrMoAGskb4mbDxwYylekTJSkLWnwg2SKDCQrQ==
Cancel-Lock: sha1:iKtxHwyg2OrwT7kiYxvrBOA6yAo= sha256:EqJwZtosjvvJRrNsXteaRS7WUCb6ER7tjm0E/H30hl8=
Return-Path: <karsten.hilbert@gmx.net>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmx.net header.i=karsten.hilbert@gmx.net
header.b=rnaWySm3; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; 'modules':
0.07; 'received:212.227': 0.07; 'that?': 0.07; '+0200': 0.09;
'debian': 0.09; 'environments': 0.09; 'gpg': 0.09; 'karsten':
0.09; 'schrieb': 0.09; '(even': 0.16; '1713': 0.16; '2024': 0.16;
'cleanly': 0.16; 'consensus': 0.16; 'hint': 0.16; 'python3': 0.16;
'installing': 0.19; 'to:addr:python-list': 0.20; 'sat,': 0.22;
'install': 0.23; 'anything': 0.25; 'else': 0.27; 'packages': 0.31;
"doesn't": 0.32; 'right,': 0.32; 'but': 0.32; 'someone': 0.34;
'header:In-Reply-To:1': 0.34; 'way': 0.38; 'means': 0.38;
'single': 0.39; 'use': 0.39; 'appears': 0.40; 'received:212':
0.62; 'required': 0.65; 'let': 0.66; 'know.': 0.68; 'virtual':
0.71; 'skip:* 10': 0.71; 'subject:Virtual': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net;
s=s31663417; t=1728166870; x=1728771670; i=karsten.hilbert@gmx.net;
bh=azRTDzxQpHiFDJhQVwpgTOCmSX2Pf1e78HsQ0o+b4Dk=;
h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:References:
MIME-Version:Content-Type:In-Reply-To:Content-Transfer-Encoding:
cc:content-transfer-encoding:content-type:date:from:message-id:
mime-version:reply-to:subject:to;
b=rnaWySm3b7uF0HcxkI2eM/TnLJy/2kxd0TrS3b5uPCYE+w6o0bAf3AEqYdB43+se
gKnaanUYO9niq6crMA1ESQDU06YhPyAhoDeOBZz2YWoR3xHXvSog6Hn8upIPyBc6M
yCqJneP9n3+TB3tuzG2bx2uhgj+orIj/J47TxoMtGTkVMDsZ512AzH9OVosgosN03
K9UKnUqtozcyAAr2+PDXF9yu1qY3G9HYOr36jXJq6YRtEwwqpbLDHXdk1/mf/yK7F
AZxuALmIAKkYNuOJFWWYuxF6c9Ap3dTNPuYFjx/d4sfcOQi4lK7GQgwzYYrchEnqz
bPjC/GrXQ8HbPxQv7w==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Content-Disposition: inline
In-Reply-To: <20241005222733.fd60f7e672e849aa63c8b360@fam-goebel.de>
Ma_X_il-Followup-to: d
Re_X_turn-receipt-to: Karsten.Hilbert@gmx.net
Di_X_sposition-Notification-To: Karsten.Hilbert@gmx.net
X-Confi_X_rm-Reading-To: Karsten.Hilbert@gmx.net
X-Pri_X_ority: 2 (High)
X-Provags-ID: V03:K1:nwYF/3zoAhazDCp+mIqYXo826axU5hkK+r5rG1Xb8Qqfw4vA39h
CKCXvfx5vtsDUfS4bp8JfrwbnN1Y41EUpLrdhfNdjd4iE/Xcj7Lg3+/qachW3hUhS4O5Q90
ikIEjEg/At232H66Sn8TZ4mJ2101KbN9bhZeQqUq54ZqUf6oaP6HRPrFxLff3VA/PoqZ/tb
mnB80YAe0BRvQJflrvygg==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:c+0uhR+3+II=;JxQydKGI2r3z15CfZEaBwE5dW0v
PmD5T7AmaEWnWNoCue4kt+xEIDuoVL0qH9WxnQpAW8tpbEf56Dc48FGGFM2mGZMsGWbS6MTou
DvI/jG7Qj01WR/jDczFMmOkvp3j4hMq9p6iy6OPt/UPFVS+DD/vdjspynhkKoCQaGV9BU2CYl
oMFpG3Dg+8TyVqL3dEIK3x1lhxDxKjMQjuh8SX7EcLa10G8rxh8LEYBH7yPs31slqSY9hkxS/
hgmWgC2oHm9omkC6GxZYg95n8pZ+aaecgmiTyzrvjK4h1sofCAvy+ewgO0Fx3tUrbIJyg42+i
0SdFIBwClENwx5dNSiWsZAwWx0IJ8HEQ/dIbmFHgYKaeymUH+dH2TcnLtUfuiKPhTjPpTPtxX
EKdgEaBBw3IdI11qo7+dDI+XlOdbdCNhjrr+HOcynaFfr+MQA5jQUdhFVJz1lkdD1W+Ub9BQo
GVKkUNMuaGDG0B1BH0E3aqydzC2m99K51zSjbOWChPfI+vZ+zrYrzUj397NoGnPnFV+PKyGAq
xoc+6xihA9AuVbx7M2wJysKsm5KQqNbhXYu+rlwiuJt3RE+cdEdS/1HhhqPyLmn34fSPHWAfK
gPHPdvy8oqM28iZSuQPxNqlPtHuJPDcyMBJvHcCA1LncoDXtbtYTdGijEOYrt7DC4f8Nibypj
uifrKLqLbEWLI62dIt/VgI4I6U4gcNFgTnp4Lb1+oZnw46PWgDbFnRB/uZuTApynIy3PYQBce
s04jZNLLVO9tkhUSFnNF7uLuXq7Od5EzqWHGe/oJ/iJire1mgjYO9OGgkOhysjPDAR5JcflJg
Z8I2sv0fIQuaBeIJrybCJ8vA==
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <ZwG71fmSkKa2v3QY@hermes.hilbert.loc>
X-Mailman-Original-References: <20241005222733.fd60f7e672e849aa63c8b360@fam-goebel.de>
View all headers

Am Sat, Oct 05, 2024 at 10:27:33PM +0200 schrieb Ulrich Goebel via Python-list:

> 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?

AFAICT the factual consensus appears to be

install modules as packaged by the system

you won't need anything else

If you do find how to cleanly install non-packaged modules
in a system-wide way (even if that means installing every
application into its own *system-wide* venv) - do let me
know.

Karsten
--
GPG 40BE 5B0E C98E 1713 AFA6 5BC0 3BEA AC80 7D4F C89B

1

rocksolid light 0.9.8
clearnet tor