@@ -101,44 +101,51 @@ msgid ""
101101"virtual environment). The installation location can be controlled through "
102102"two additional command line options:"
103103msgstr ""
104+ "在默认情况下,``pip`` 会被安装到当前虚拟环境(如果激活了虚拟环境)或系统的包目录(如果未激活虚拟环境)。 "
105+ "安装位置可通过两个额外的命令行选项来控制。"
104106
105107#: ../../library/ensurepip.rst:61
106108msgid ""
107109"``--root <dir>``: Installs ``pip`` relative to the given root directory "
108110"rather than the root of the currently active virtual environment (if any) or"
109111" the default root for the current Python installation."
110112msgstr ""
113+ "``--root 1``: 相对于给定的根目录而不是当前已激活虚拟环境(如果存在)的根目录或当前 Python 安装版的默认根目录来安装 "
114+ "``pip``。"
111115
112116#: ../../library/ensurepip.rst:64
113117msgid ""
114118"``--user``: Installs ``pip`` into the user site packages directory rather "
115119"than globally for the current Python installation (this option is not "
116120"permitted inside an active virtual environment)."
117121msgstr ""
122+ "``--user``: 将 ``pip`` 安装到用户包目录而不是全局安装到当前 Python 安装版(此选项不允许在已激活虚拟环境中使用)。"
118123
119124#: ../../library/ensurepip.rst:68
120125msgid ""
121126"By default, the scripts ``pipX`` and ``pipX.Y`` will be installed (where X.Y"
122127" stands for the version of Python used to invoke ``ensurepip``). The scripts"
123128" installed can be controlled through two additional command line options:"
124129msgstr ""
130+ "在默认情况下,脚本 ``pipX`` 和 ``pipX.Y`` 将被安装(其中 X.Y 表示被用来发起调用 ``ensurepip`` 的 Python"
131+ " 的版本)。 所安装的脚本可通过两个额外的命令行选项来控制:"
125132
126133#: ../../library/ensurepip.rst:73
127134msgid ""
128135"``--altinstall``: if an alternate installation is requested, the ``pipX`` "
129136"script will *not* be installed."
130- msgstr ""
137+ msgstr "``--altinstall``: 如果请求了一个替代安装版,则 ``pipX`` 脚本将 *不会* 被安装。 "
131138
132139#: ../../library/ensurepip.rst:76
133140msgid ""
134141"``--default-pip``: if a \" default pip\" installation is requested, the "
135142"``pip`` script will be installed in addition to the two regular scripts."
136- msgstr ""
143+ msgstr "``--default-pip``: 如果请求了一个 \" 默认的 pip \" 安装版,则除了两个常规脚本之外还将安装 ``pip`` 脚本。 "
137144
138145#: ../../library/ensurepip.rst:79
139146msgid ""
140147"Providing both of the script selection options will trigger an exception."
141- msgstr ""
148+ msgstr "同时提供这两个脚本选择选项将会触发异常。 "
142149
143150#: ../../library/ensurepip.rst:83
144151msgid "Module API"
@@ -156,14 +163,14 @@ msgstr ""
156163
157164#: ../../library/ensurepip.rst:96
158165msgid "Bootstraps ``pip`` into the current or designated environment."
159- msgstr ""
166+ msgstr "初始创建 ``pip`` 到当前的或指定的环境中。 "
160167
161168#: ../../library/ensurepip.rst:98
162169msgid ""
163170"*root* specifies an alternative root directory to install relative to. If "
164171"*root* is ``None``, then installation uses the default install location for "
165172"the current environment."
166- msgstr ""
173+ msgstr "*root* 指明要作为相对安装路径的替代根目录。 如果 *root* 为 ``None``,则安装会使用当前环境的默认安装位置。 "
167174
168175#: ../../library/ensurepip.rst:102
169176msgid ""
0 commit comments