<p>这意味着你一开始实际上没有一个pip<a href="https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format" rel="nofollow noreferrer">^{<cd1>} file</a>。这是一个conda导出,可能是用<a href="https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#viewing-a-list-of-the-packages-in-an-environment" rel="nofollow noreferrer">^{<cd2>}</a>创建的,不能用pip处理</p>
<p><code>=</code>之后的值只是一个<a href="https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#build-number-and-string" rel="nofollow noreferrer">build string</a>,您可以将其视为允许安装完全相同的构建的标识符。这里的版本号不够,因为同一版本可能有不同的版本</p>
<p>显示引用的<code>xz</code>包的<code>h7b6447c_0</code>构建的示例:</p>
<pre><code>$ conda search xz=5.2.5 info
Loading channels: done
xz 5.2.5 h7b6447c_0
-
file name : xz-5.2.5-h7b6447c_0.tar.bz2
name : xz
version : 5.2.5
build : h7b6447c_0
build number: 0
size : 438 KB
license : LGPL-2.1 and GPL-2.0
subdir : linux-64
url : https://repo.anaconda.com/pkgs/main/linux-64/xz-5.2.5-h7b6447c_0.tar.bz2
md5 : e17620ef8fc8654e77f53b4f2995b288
timestamp : 2020-04-16 04:36:07 UTC
dependencies:
- libgcc-ng >=7.3.0
</code></pre>