virtualenv is a tool to create isolated Python environments.
virtualenv是用来创建一个独立的Python虚拟环境的工具,通过virtualenv可以创建一个拥有独立的python版本和安装库的虚拟开发环境。这样一来我们就可以在虚拟环境中安装各种各种所需要的库,从而不会造成本地的库过多所引起的使用混乱。同时也可以创建不同的python版本来完成不同的需求开发。
对应的Virtualenvwrapper是在使用virtualenv的一个扩展。
virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies.
通过wrapper可以方便的管理虚拟环境。
windows-virtualenv。
windows下安装的话可以使用pip直接进行安装:
pip install virtualenv
可以以从