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