Deutsch English Français Italiano |
<pbcphk-ib6.ln1@lazy.lzy> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Piergiorgio Sartor <piergiorgio.sartor.this.should.not.be.used@nexgo.REMOVETHIS.de> Newsgroups: comp.lang.python Subject: Re: venvs vs. package management Date: Sun, 19 May 2024 15:44:57 +0200 Organization: A noiseless patient Spider Lines: 45 Message-ID: <pbcphk-ib6.ln1@lazy.lzy> References: <fqN0O.38287$ZZU.19060@fx07.ams4> <TUI-20240515112645@ram.dialup.fu-berlin.de> <v23j1c$15nao$4@dont-email.me> <Pvs1O.8533$H1X8.1544@fx05.ams4> <20240518151913.w5qqsw67gndy57ry@hjp.at> <4VhVBk0sy7znVGB@mail.python.org> <dc837fb2-fee3-4d7c-81b1-fa70cacdc3bf@wichmann.us> <mailman.19.1716055464.2909.python-list@python.org> <hl7nhk-165.ln1@lazy.lzy> <20240519064906.iiwcjlvdt4ripfpy@hjp.at> <mailman.24.1716101350.2909.python-list@python.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 19 May 2024 15:49:10 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9d26e3116e59fafd49a8dbb9b4672ff4"; logging-data="3587998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+m64/FyVoILJB7n3efTujp" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:WzHgsKS1ZdoOQW5DWkntIqZlPb8= Content-Language: it, en-GB In-Reply-To: <mailman.24.1716101350.2909.python-list@python.org> Bytes: 2672 On 19/05/2024 08.49, Peter J. Holzer wrote: [...] > That's what package management on Linux is for. Sure, it means that you > won't have the newest version of anything and some packages not at all, > but you don't have to care about dependencies. Or updates. Well, that doesn't work as well. Distributions do not pack everything, this also depending on licenses. Sometimes, or often, you need to use the *latest* version of something, due to some bugfix or similar. The distribution does not always keep up to date everything, so you're stuck. The only solution is a venv, with all needed packages for the given task. Typical problem with PyTorch / TensorFlow. In case of trouble, the first answer is: "Check with the latest (nightly) release". Which means installing something *outside* the Linux distribution support. And this impossible, because this will pull in dependencies like crazy, which are not (yet) in the Linux distribution path. Saying it differently, the latest greatest update is not a wish, it's a must... So, long story short, the only solution I know are venvs... Of course, other solutions are welcome! bye, -- piergiorgio