|
|
Subscribe / Log in / New account

Python virtual environments

Python virtual environments

Posted Jun 14, 2018 7:50 UTC (Thu) by robert_s (subscriber, #42402)
Parent article: Python virtual environments

When I have the choice I skip language "toy" package managers entirely and use Nix shells


to post comments

Python virtual environments

Posted Jun 14, 2018 14:54 UTC (Thu) by servilio-ap (subscriber, #56287) [Link]

When I have the choice I skip language "toy" package managers entirely and use Nix shells
And this have the advantage of being able to express dependencies that are not part of the language-specific package manager, e.g.: OpenSSL, libxml2.

Python virtual environments

Posted Jun 15, 2018 11:16 UTC (Fri) by sbaugh (guest, #103291) [Link]

I feel the same way, I much prefer Nix shells over whatever the popular Python virtual environment tool is today.

Apparently people find it painful to have to start any kind of Python training with 20 minutes of Python package manager/virtual environment tooling training. I know that one reason I would find it painful to teach people about those kind of tools is that they are not tools for life. Effort invested into learning Python tools will just be wasted when the tool of the day changes, or I want to use a different language.

But if people had a long-lasting packaging tool they could use for all languages, I don't think I would mind teaching that tool at the start of Python lessons; I'd know it would be long-term useful knowledge for people. I think Nix (or something like it) could meet this criteria.

Python virtual environments

Posted Jun 18, 2018 15:58 UTC (Mon) by civodul (guest, #58311) [Link]

Agreed, I feel that Nix shells and guix environment provide similar functionality but are more robust (they make no assumptions about the environment) and not limited to Python.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds