devel/py-virtualenv - The NetBSD Packages Collection

Virtual Python Environment builder

virtualenv is a tool to create isolated Python environments.

The basic problem being addressed is one of dependencies and
versions, and indirectly permissions. Imagine you have an application
that needs version 1 of LibFoo, but another application requires
version 2. How can you use both these applications? If you install
everything into /usr/lib/python2.7/site-packages (or whatever your
platform's standard location is), it's easy to end up in a situation
where you unintentionally upgrade an application that shouldn't be
upgraded.

Or more generally, what if you want to install an application and
leave it be? If an application works, any change in its libraries
or the versions of those libraries can break the application.

Also, what if you can't install packages into the global site-packages
directory? For instance, on a shared host.

In all these cases, virtualenv can help you. It creates an environment
that has its own installation directories, that doesn't share
libraries with other virtualenv environments (and optionally doesn't
access the globally installed libraries either).

Build dependencies

devel/py-hatch-vcs devel/py-hatchling devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/py-distlib devel/py-filelock misc/py-platformdirs lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-virtualenv-20.26.5.tgz
NetBSD 10.0aarch64py311-virtualenv-20.26.5.tgz
NetBSD 10.0aarch64py312-virtualenv-20.26.5.tgz
NetBSD 10.0aarch64py310-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64py311-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64py312-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64py38-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64py39-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64ebpy310-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64ebpy311-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64ebpy312-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64ebpy38-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64ebpy39-virtualenv-20.26.2.tgz
NetBSD 10.0aarch64ebpy310-virtualenv-20.26.5.tgz
NetBSD 10.0aarch64ebpy311-virtualenv-20.26.5.tgz
NetBSD 10.0aarch64ebpy312-virtualenv-20.26.5.tgz
NetBSD 10.0alphapy310-virtualenv-20.25.1.tgz
NetBSD 10.0alphapy310-virtualenv-20.26.2.tgz
NetBSD 10.0alphapy311-virtualenv-20.25.1.tgz
NetBSD 10.0alphapy311-virtualenv-20.26.2.tgz
NetBSD 10.0alphapy312-virtualenv-20.25.1.tgz
NetBSD 10.0alphapy312-virtualenv-20.26.2.tgz
NetBSD 10.0alphapy38-virtualenv-20.25.1.tgz
NetBSD 10.0alphapy38-virtualenv-20.26.2.tgz
NetBSD 10.0alphapy39-virtualenv-20.25.1.tgz
NetBSD 10.0alphapy39-virtualenv-20.26.2.tgz
NetBSD 10.0alphapy310-virtualenv-20.26.5.tgz
NetBSD 10.0alphapy311-virtualenv-20.26.5.tgz
NetBSD 10.0alphapy312-virtualenv-20.26.5.tgz
NetBSD 10.0earmv4py310-virtualenv-20.26.2.tgz
NetBSD 10.0earmv4py311-virtualenv-20.26.2.tgz
NetBSD 10.0earmv4py312-virtualenv-20.26.2.tgz
NetBSD 10.0earmv4py38-virtualenv-20.26.2.tgz
NetBSD 10.0earmv4py39-virtualenv-20.26.2.tgz
NetBSD 10.0earmv6hfpy310-virtualenv-20.26.5.tgz
NetBSD 10.0earmv6hfpy311-virtualenv-20.26.5.tgz
NetBSD 10.0earmv6hfpy312-virtualenv-20.26.5.tgz
NetBSD 10.0earmv6hfpy310-virtualenv-20.25.1.tgz
NetBSD 10.0earmv6hfpy311-virtualenv-20.25.1.tgz
NetBSD 10.0earmv6hfpy312-virtualenv-20.25.1.tgz
NetBSD 10.0earmv6hfpy38-virtualenv-20.25.1.tgz
NetBSD 10.0earmv6hfpy39-virtualenv-20.25.1.tgz
NetBSD 10.0earmv6hfpy310-virtualenv-20.26.2.tgz
NetBSD 10.0earmv6hfpy311-virtualenv-20.26.2.tgz
NetBSD 10.0earmv6hfpy312-virtualenv-20.26.2.tgz
NetBSD 10.0earmv6hfpy38-virtualenv-20.26.2.tgz
NetBSD 10.0earmv6hfpy39-virtualenv-20.26.2.tgz
NetBSD 10.0earmv7hfpy310-virtualenv-20.26.5.tgz
NetBSD 10.0earmv7hfpy311-virtualenv-20.26.5.tgz
NetBSD 10.0earmv7hfpy312-virtualenv-20.26.5.tgz
NetBSD 10.0earmv7hfpy310-virtualenv-20.25.1.tgz
NetBSD 10.0earmv7hfpy311-virtualenv-20.25.1.tgz
NetBSD 10.0earmv7hfpy312-virtualenv-20.25.1.tgz
NetBSD 10.0earmv7hfpy38-virtualenv-20.25.1.tgz
NetBSD 10.0earmv7hfpy39-virtualenv-20.25.1.tgz
NetBSD 10.0earmv7hfpy310-virtualenv-20.26.2.tgz
NetBSD 10.0earmv7hfpy311-virtualenv-20.26.2.tgz
NetBSD 10.0earmv7hfpy312-virtualenv-20.26.2.tgz
NetBSD 10.0earmv7hfpy38-virtualenv-20.26.2.tgz
NetBSD 10.0earmv7hfpy39-virtualenv-20.26.2.tgz
NetBSD 10.0i386py310-virtualenv-20.26.5.tgz
NetBSD 10.0i386py311-virtualenv-20.26.5.tgz
NetBSD 10.0i386py312-virtualenv-20.26.5.tgz
NetBSD 10.0i386py310-virtualenv-20.26.2.tgz
NetBSD 10.0i386py311-virtualenv-20.26.2.tgz
NetBSD 10.0i386py312-virtualenv-20.26.2.tgz
NetBSD 10.0i386py38-virtualenv-20.26.2.tgz
NetBSD 10.0i386py39-virtualenv-20.26.2.tgz
NetBSD 10.0m68kpy310-virtualenv-20.26.2.tgz
NetBSD 10.0m68kpy311-virtualenv-20.26.2.tgz
NetBSD 10.0m68kpy312-virtualenv-20.26.2.tgz
NetBSD 10.0m68kpy39-virtualenv-20.26.2.tgz
NetBSD 10.0m68kpy310-virtualenv-20.26.5.tgz
NetBSD 10.0m68kpy311-virtualenv-20.26.5.tgz
NetBSD 10.0m68kpy312-virtualenv-20.26.5.tgz
NetBSD 10.0mips64ebpy310-virtualenv-20.25.1.tgz
NetBSD 10.0mips64ebpy311-virtualenv-20.25.1.tgz
NetBSD 10.0mips64ebpy312-virtualenv-20.25.1.tgz
NetBSD 10.0mips64ebpy38-virtualenv-20.25.1.tgz
NetBSD 10.0mips64ebpy39-virtualenv-20.25.1.tgz
NetBSD 10.0powerpcpy310-virtualenv-20.24.5.tgz
NetBSD 10.0powerpcpy311-virtualenv-20.24.5.tgz
NetBSD 10.0powerpcpy38-virtualenv-20.24.5.tgz
NetBSD 10.0powerpcpy39-virtualenv-20.24.5.tgz
NetBSD 10.0powerpcpy310-virtualenv-20.25.0.tgz
NetBSD 10.0powerpcpy311-virtualenv-20.25.0.tgz
NetBSD 10.0powerpcpy312-virtualenv-20.25.0.tgz
NetBSD 10.0powerpcpy38-virtualenv-20.25.0.tgz
NetBSD 10.0powerpcpy39-virtualenv-20.25.0.tgz
NetBSD 10.0powerpcpy310-virtualenv-20.25.1.tgz
NetBSD 10.0powerpcpy311-virtualenv-20.25.1.tgz
NetBSD 10.0powerpcpy312-virtualenv-20.25.1.tgz
NetBSD 10.0powerpcpy38-virtualenv-20.25.1.tgz
NetBSD 10.0powerpcpy39-virtualenv-20.25.1.tgz
NetBSD 10.0sh3elpy310-virtualenv-20.26.2.tgz
NetBSD 10.0sh3elpy311-virtualenv-20.26.2.tgz
NetBSD 10.0sh3elpy312-virtualenv-20.26.2.tgz
NetBSD 10.0sh3elpy38-virtualenv-20.26.2.tgz
NetBSD 10.0sh3elpy39-virtualenv-20.26.2.tgz
NetBSD 10.0sparc64py310-virtualenv-20.26.2.tgz
NetBSD 10.0sparc64py311-virtualenv-20.26.2.tgz
NetBSD 10.0sparc64py312-virtualenv-20.26.2.tgz
NetBSD 10.0sparc64py38-virtualenv-20.26.2.tgz
NetBSD 10.0sparc64py39-virtualenv-20.26.2.tgz
NetBSD 10.0sparcpy310-virtualenv-20.26.2.tgz
NetBSD 10.0sparcpy311-virtualenv-20.26.2.tgz
NetBSD 10.0sparcpy312-virtualenv-20.26.2.tgz
NetBSD 10.0sparcpy38-virtualenv-20.26.2.tgz
NetBSD 10.0sparcpy39-virtualenv-20.26.2.tgz
NetBSD 10.0sparcpy310-virtualenv-20.26.5.tgz
NetBSD 10.0sparcpy311-virtualenv-20.26.5.tgz
NetBSD 10.0sparcpy312-virtualenv-20.26.5.tgz
NetBSD 10.0x86_64py310-virtualenv-20.26.5.tgz
NetBSD 10.0x86_64py311-virtualenv-20.26.5.tgz
NetBSD 10.0x86_64py312-virtualenv-20.26.5.tgz
NetBSD 10.0x86_64py310-virtualenv-20.26.2.tgz
NetBSD 10.0x86_64py311-virtualenv-20.26.2.tgz
NetBSD 10.0x86_64py312-virtualenv-20.26.2.tgz
NetBSD 10.0x86_64py38-virtualenv-20.26.2.tgz
NetBSD 10.0x86_64py39-virtualenv-20.26.2.tgz
NetBSD 9.0aarch64py310-virtualenv-20.26.5.tgz
NetBSD 9.0aarch64py311-virtualenv-20.26.5.tgz
NetBSD 9.0aarch64py312-virtualenv-20.26.5.tgz
NetBSD 9.0aarch64py310-virtualenv-20.26.2.tgz
NetBSD 9.0aarch64py311-virtualenv-20.26.2.tgz
NetBSD 9.0aarch64py312-virtualenv-20.26.2.tgz
NetBSD 9.0aarch64py38-virtualenv-20.26.2.tgz
NetBSD 9.0aarch64py39-virtualenv-20.26.2.tgz
NetBSD 9.0alphapy310-virtualenv-20.26.2.tgz
NetBSD 9.0alphapy311-virtualenv-20.26.2.tgz
NetBSD 9.0alphapy38-virtualenv-20.26.2.tgz
NetBSD 9.0alphapy39-virtualenv-20.26.2.tgz
NetBSD 9.0alphapy310-virtualenv-20.26.5.tgz
NetBSD 9.0alphapy311-virtualenv-20.26.5.tgz
NetBSD 9.0earmv4py310-virtualenv-20.25.1.tgz
NetBSD 9.0earmv4py311-virtualenv-20.25.1.tgz
NetBSD 9.0earmv4py312-virtualenv-20.25.1.tgz
NetBSD 9.0earmv4py38-virtualenv-20.25.1.tgz
NetBSD 9.0earmv4py39-virtualenv-20.25.1.tgz
NetBSD 9.0earmv6hfpy310-virtualenv-20.26.5.tgz
NetBSD 9.0earmv6hfpy311-virtualenv-20.26.5.tgz
NetBSD 9.0earmv6hfpy312-virtualenv-20.26.5.tgz
NetBSD 9.0earmv6hfpy310-virtualenv-20.25.1.tgz
NetBSD 9.0earmv6hfpy311-virtualenv-20.25.1.tgz
NetBSD 9.0earmv6hfpy38-virtualenv-20.25.1.tgz
NetBSD 9.0earmv6hfpy39-virtualenv-20.25.1.tgz
NetBSD 9.0earmv6hfpy310-virtualenv-20.26.2.tgz
NetBSD 9.0earmv6hfpy311-virtualenv-20.26.2.tgz
NetBSD 9.0earmv6hfpy38-virtualenv-20.26.2.tgz
NetBSD 9.0earmv6hfpy39-virtualenv-20.26.2.tgz
NetBSD 9.0earmv7hfpy310-virtualenv-20.26.5.tgz
NetBSD 9.0earmv7hfpy311-virtualenv-20.26.5.tgz
NetBSD 9.0earmv7hfpy312-virtualenv-20.26.5.tgz
NetBSD 9.0earmv7hfpy310-virtualenv-20.25.1.tgz
NetBSD 9.0earmv7hfpy311-virtualenv-20.25.1.tgz
NetBSD 9.0earmv7hfpy38-virtualenv-20.25.1.tgz
NetBSD 9.0earmv7hfpy39-virtualenv-20.25.1.tgz
NetBSD 9.0earmv7hfpy310-virtualenv-20.26.2.tgz
NetBSD 9.0earmv7hfpy311-virtualenv-20.26.2.tgz
NetBSD 9.0earmv7hfpy38-virtualenv-20.26.2.tgz
NetBSD 9.0earmv7hfpy39-virtualenv-20.26.2.tgz
NetBSD 9.0i386py310-virtualenv-20.26.5.tgz
NetBSD 9.0i386py311-virtualenv-20.26.5.tgz
NetBSD 9.0i386py312-virtualenv-20.26.5.tgz
NetBSD 9.0i386py310-virtualenv-20.26.2.tgz
NetBSD 9.0i386py311-virtualenv-20.26.2.tgz
NetBSD 9.0i386py312-virtualenv-20.26.2.tgz
NetBSD 9.0i386py38-virtualenv-20.26.2.tgz
NetBSD 9.0i386py39-virtualenv-20.26.2.tgz
NetBSD 9.0m68kpy311-virtualenv-20.25.1.tgz
NetBSD 9.0m68kpy310-virtualenv-20.26.2.tgz
NetBSD 9.0m68kpy311-virtualenv-20.26.2.tgz
NetBSD 9.0m68kpy38-virtualenv-20.26.2.tgz
NetBSD 9.0m68kpy39-virtualenv-20.26.2.tgz
NetBSD 9.0powerpcpy310-virtualenv-20.25.0.tgz
NetBSD 9.0powerpcpy311-virtualenv-20.25.0.tgz
NetBSD 9.0powerpcpy312-virtualenv-20.25.0.tgz
NetBSD 9.0powerpcpy38-virtualenv-20.25.0.tgz
NetBSD 9.0powerpcpy39-virtualenv-20.25.0.tgz
NetBSD 9.0powerpcpy310-virtualenv-20.24.5.tgz
NetBSD 9.0powerpcpy311-virtualenv-20.24.5.tgz
NetBSD 9.0powerpcpy38-virtualenv-20.24.5.tgz
NetBSD 9.0powerpcpy39-virtualenv-20.24.5.tgz
NetBSD 9.0powerpcpy310-virtualenv-20.25.1.tgz
NetBSD 9.0powerpcpy311-virtualenv-20.25.1.tgz
NetBSD 9.0powerpcpy312-virtualenv-20.25.1.tgz
NetBSD 9.0powerpcpy38-virtualenv-20.25.1.tgz
NetBSD 9.0powerpcpy39-virtualenv-20.25.1.tgz
NetBSD 9.0sparc64py310-virtualenv-20.25.1.tgz
NetBSD 9.0sparc64py311-virtualenv-20.25.1.tgz
NetBSD 9.0sparc64py312-virtualenv-20.25.1.tgz
NetBSD 9.0sparc64py38-virtualenv-20.25.1.tgz
NetBSD 9.0sparc64py39-virtualenv-20.25.1.tgz
NetBSD 9.0sparc64py310-virtualenv-20.26.5.tgz
NetBSD 9.0sparc64py311-virtualenv-20.26.5.tgz
NetBSD 9.0sparc64py312-virtualenv-20.26.5.tgz
NetBSD 9.0x86_64py310-virtualenv-20.26.5.tgz
NetBSD 9.0x86_64py311-virtualenv-20.26.5.tgz
NetBSD 9.0x86_64py312-virtualenv-20.26.5.tgz
NetBSD 9.0x86_64py310-virtualenv-20.26.2.tgz
NetBSD 9.0x86_64py311-virtualenv-20.26.2.tgz
NetBSD 9.0x86_64py312-virtualenv-20.26.2.tgz
NetBSD 9.0x86_64py38-virtualenv-20.26.2.tgz
NetBSD 9.0x86_64py39-virtualenv-20.26.2.tgz
NetBSD 9.3x86_64py310-virtualenv-20.26.5.tgz
NetBSD 9.3x86_64py311-virtualenv-20.26.5.tgz
NetBSD 9.3x86_64py312-virtualenv-20.26.5.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.