使用虚拟环境安装包¶
Installing packages using virtualenv
本指南介绍了如何使用 pip 和 virtualenv 安装包,后者是一个用于创建隔离 Python 环境的工具。
重要
这篇关于安装包和使用 virtualenv 的“操作指南”正在开发中。有关安装和使用的详细信息,请参阅 virtualenv 文档。
备注
本文使用术语 包(package) 来指代 Distribution Package,它与 Import Package 不同,后者是用于在 Python 源代码中导入模块的。
This guide discusses how to install packages using pip and virtualenv, a tool to create isolated Python environments.
重要
This "how to" guide on installing packages and using virtualenv is under development. Please refer to the virtualenv documentation for details on installation and usage.
备注
This doc uses the term package to refer to a Distribution Package which is different from an Import Package that which is used to import modules in your Python source code.