我想使用 conda 在我当前的活动环境中安装“绳索”包。目前,可以使用以下“绳索”版本:
(data_downloader)user@user-ThinkPad ~/code/data_downloader $ conda search rope
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ....
cached-property 1.2.0 py27_0 defaults
1.2.0 py34_0 defaults
1.2.0 py35_0 defaults
1.3.0 py27_0 defaults
1.3.0 py34_0 defaults
1.3.0 py35_0 defaults
rope 0.9.4 py26_0 defaults
0.9.4 py27_0 defaults
0.9.4 py33_0 defaults
0.9.4 py34_0 defaults
0.9.4 py26_1 defaults
0.9.4 py27_1 defaults
0.9.4 py33_1 defaults
0.9.4 py34_1 defaults
. 0.9.4 py35_1 defaults
我想安装以下一个:
1.3.0 py35_0 defaults
我已经尝试了各种“conda install”的排列方式,我不会在这里列出,因为它们都不正确。
我也不确定 py35_0 是什么(我假设这是构建软件包的python版本?)而且我也不知道“默认值”是什么意思?
原文由 s5s 发布,翻译遵循 CC BY-SA 4.0 许可协议
没有版本
1.3.0
用于rope
。1.3.0
是指包cached-property
。rope
的最高可用版本是0.9.4
。您可以使用
conda install package=version
安装不同的版本。但在这种情况下,只有一个版本rope
所以你不需要它。您在此清单中看到
cached-property
的原因是因为它包含字符串"rope"
: “cached-prope erty “py35_0
表示您需要 python 版本3.5
对于这个特定的版本。如果您只有python3.4
并且该软件包仅适用于版本3.5
您不能使用 conda 安装它。我也不太确定
defaults
。这应该表明这个包在默认的 conda 通道内。