pkg.soopen package index

brew / 排名 488

使用 Homebrew, apt, Nix, dnf 安装 virtualenv

查看 virtualenv 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install virtualenv

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install virtualenv

Debian stable package indexes · virtualenv · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#virtualenv

nixpkgs package indexes · virtualenv · 来源: raw.githubusercontent.com

Fedora dnf已验证 · 92%
sudo dnf install python3-virtualenv

Fedora Rawhide package metadata · python3-virtualenv · 来源: dl.fedoraproject.org

概览

软件包摘要

Tool for creating isolated virtual python environments

命令和别名

  • virtualenv

历史

项目历史与用法

virtualenv is one of the foundational Python packaging tools: it creates isolated Python environments so projects can have their own interpreter-facing package directories instead of sharing a global site-packages. The Python Packaging Authority history records virtualenv as introduced by Ian Bicking in 2007, and PEP 405 later described third-party virtualenv as the established predecessor to Python's standard-library venv module.

项目历史

virtualenv grew out of Ian Bicking's earlier workingenv and virtual-python work. Legacy virtualenv documentation describes it as a successor to workingenv and an extension of virtual-python, written by Bicking with sponsorship from The Open Planning Project and later maintained by a developer group under the PyPA umbrella.

The first PyPI files for virtualenv date to September 2007, and the legacy changelog records v0.8 as the initial release. In 2012, Python accepted PEP 405 for built-in virtual environments, explicitly citing the popularity of Ian Bicking's virtualenv as evidence that environment isolation was already a core Python workflow.

The project continued after venv entered the standard library because virtualenv supported more interpreter discovery modes, older Python versions, cross-platform activation scripts, and bundled or seeded installer behavior. The 20.x line was a major modernization of the implementation and seeding model, and recent changelogs show the project still tracking new Python versions and packaging behavior.

采用历史

virtualenv became a default building block for Python application development, testing, and deployment before Python had a built-in equivalent. PEP 405 described virtual environments as already widely used for dependency management, non-admin package installation, and automated testing across Python versions.

Its adoption is tightly linked to pip and PyPA packaging culture. For years, tutorials, CI systems, tox configurations, and distribution packaging recipes assumed that creating a throwaway virtualenv was the ordinary way to test Python code without contaminating the system interpreter.

使用方式

The common workflow is to run `virtualenv ENV`, activate the environment with the shell-specific activation script, and then install dependencies with pip into that isolated prefix. Modern virtualenv can also select interpreters, delegate some creation paths to venv, and seed environments with packaging tools according to its configured policy.

Even where `python -m venv` is sufficient, virtualenv remains useful when users want faster creation, broader interpreter support, consistent behavior across platforms, or compatibility with older packaging workflows. It is also embedded indirectly in higher-level tools that create disposable environments for testing, building, or application isolation.

为什么软件包爱好者会关心

virtualenv is package-nerd bedrock: it changed Python packaging from a global-machine problem into a per-project directory problem. Much of the later Python tooling stack, including virtualenvwrapper, tox, pipenv, Poetry, nox, and uv-style environment workflows, either builds on the same isolation idea or interoperates with its directory conventions.

时间线

  • 2007: virtualenv was introduced by Ian Bicking.
  • 2007-09-14: The earliest virtualenv files currently listed on PyPI were uploaded.
  • 2012: PEP 405 proposed Python's standard-library virtual environments, citing virtualenv's established popularity.
  • 2020: virtualenv 20.x became the modern line with a rewritten creation and seeding architecture.
  • 2026: The active 21.x line continues to track current Python packaging and interpreter changes.

Related projects

  • workingenv and virtual-python were direct predecessors. Python's standard-library venv module standardized a subset of the virtual-environment concept. virtualenvwrapper and VirtualFish are shell-oriented managers built around virtualenv-style environments.

来源

  • PEP 405: https://peps.python.org/pep-0405/
  • PyPA packaging history: https://www.pypa.io/en/latest/history/
  • virtualenv PyPI project: https://pypi.org/project/virtualenv/
  • virtualenv changelog: https://virtualenv.pypa.io/en/latest/changelog.html
  • virtualenv legacy changelog: https://virtualenv.pypa.io/en/legacy/changes.html
  • virtualenv legacy development documentation: https://virtualenv.pypa.io/en/legacy/development.html

安全态势

尚未找到受保护工具覆盖

没有找到 virtualenv 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
platformdirs app config directory/virtualenv.ini
Windows
platformdirs app config directory/virtualenv.ini

可执行文件

已安装的可执行文件

命令类型暴露范围备注
virtualenv可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本21.7.1
管理器更新时间2026-07-31
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:virtualenv
版本21.7.1
软件包管理器Homebrew
主页https://virtualenv.pypa.io/
仓库https://github.com/pypa/virtualenv
最后更新2026-07-31T16:35:46Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

virtualenv 20.31.2+ds-1+deb13u1

Python virtual environment creator (Dependency package)

https://virtualenv.pypa.io/

sudo apt install virtualenv
  • Section: python
  • Architecture: all
  • Source Package: python-virtualenv
  • 1 依赖
  • normalized package name match
  • 匹配方式:Virtualenv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: virtualenv from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

virtualenv

nix profile install nixpkgs#virtualenv
  • normalized package name match
  • 匹配方式:Virtualenv
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: virtualenv from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

virtualenv 20.25.0+ds-2

Python virtual environment creator (Dependency package)

https://virtualenv.pypa.io/

sudo apt install virtualenv
  • Section: universe/python
  • Architecture: all
  • Source Package: python-virtualenv
  • 1 依赖
  • normalized package name match
  • 匹配方式:Virtualenv
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: virtualenv from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

python3-virtualenv 21.6.1-2.fc45

Tool to create isolated Python environments

http://pypi.python.org/pypi/virtualenv

sudo dnf install python3-virtualenv
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-virtualenv
  • 5 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Virtualenv
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-virtualenv from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation