Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/314.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如何安装conda软件包的特定版本?_Python_Anaconda_Conda_Grib_Eccodes - Fatal编程技术网

Python 如何安装conda软件包的特定版本?

Python 如何安装conda软件包的特定版本?,python,anaconda,conda,grib,eccodes,Python,Anaconda,Conda,Grib,Eccodes,我正在尝试安装eccodes软件包的v2.7.0 但这是行不通的: conda安装-c conda forge eccodes=2.7.0 我可以在这里看到版本: 我在语法上做错了什么 最新的版本是2.13,我不想要它。如果你在第一页浏览所有的软件包版本,你会发现它们的标签是“main”。但是,要安装的版本具有标签“cf201901” 因此,您应该将install命令更改为: conda install -c conda-forge/label/cf201901 eccodes=2.7.0 通

我正在尝试安装
eccodes
软件包的v2.7.0

但这是行不通的:

conda安装-c conda forge eccodes=2.7.0

我可以在这里看到版本:

我在语法上做错了什么


最新的版本是2.13,我不想要它。

如果你在第一页浏览所有的软件包版本,你会发现它们的标签是“main”。但是,要安装的版本具有标签“cf201901”

因此,您应该将install命令更改为:

conda install -c conda-forge/label/cf201901 eccodes=2.7.0
通过在频道中包含标签,它将能够找到正确的旧版本

或者,您可以直接从您正在浏览的网站复制旧软件包的链接,然后运行:

conda install https://anaconda.org/conda-forge/eccodes/2.7.0/download/osx-64/eccodes-2.7.0-0.tar.bz2

如果您想安装osx的2.7.0版

如果您在第一页查看所有软件包版本,您会注意到它们的标签是“main”。但是,要安装的版本具有标签“cf201901”

因此,您应该将install命令更改为:

conda install -c conda-forge/label/cf201901 eccodes=2.7.0
通过在频道中包含标签,它将能够找到正确的旧版本

或者,您可以直接从您正在浏览的网站复制旧软件包的链接,然后运行:

conda install https://anaconda.org/conda-forge/eccodes/2.7.0/download/osx-64/eccodes-2.7.0-0.tar.bz2
如果要为osx安装2.7.0版