Deutsch English Français Italiano |
<mailman.0.1728191422.4695.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail From: Ulrich Goebel <ml@fam-goebel.de> Newsgroups: comp.lang.python Subject: Best Practice Virtual Environment Date: Sat, 5 Oct 2024 22:27:33 +0200 Lines: 15 Message-ID: <mailman.0.1728191422.4695.python-list@python.org> References: <20241005222733.fd60f7e672e849aa63c8b360@fam-goebel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de jVzizbvh8+NY21ZabrZ7OgyFhEsfhBO+Pi0f6g7sagKw== Cancel-Lock: sha1:t8Xai6BrS0o9Pc8Lxvg3yNgXfwM= sha256:dLUyB8/BO03yDGoaJtyvxj2XPg1nCdxDHAwlRwBeQIU= Return-Path: <ml@fam-goebel.de> X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org Authentication-Results: mail.python.org; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'pip': 0.04; 'that?': 0.07; 'debian': 0.09; 'environments': 0.09; 'linux': 0.09; 'received:78': 0.09; 'possible,': 0.15; 'deploy': 0.16; 'hint': 0.16; 'python3': 0.16; 'received:136.243': 0.16; 'received:78.46': 0.16; 'received:your-server.de': 0.16; 'server,': 0.16; 'usable': 0.16; 'python': 0.16; 'to:addr:python-list': 0.20; 'install': 0.23; 'received:de': 0.23; 'packages': 0.31; "doesn't": 0.32; 'received:136': 0.32; 'right,': 0.32; 'but': 0.32; 'script': 0.33; 'someone': 0.34; 'couple': 0.37; 'quite': 0.39; 'single': 0.39; 'use': 0.39; 'best': 0.61; 'come': 0.62; 'ever': 0.63; 'required': 0.65; 'virtual': 0.71; 'subject:Virtual': 0.84 X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) X-Authenticated-Sender: ml@fam-goebel.de X-Virus-Scanned: Clear (ClamAV 0.103.10/27418/Sat Oct 5 10:49:53 2024) 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: <20241005222733.fd60f7e672e849aa63c8b360@fam-goebel.de> Bytes: 3168 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@fam-goebel.de>