Conda 在不更新依赖项的情况下安装 Rasterio
Conda Install Rasterio without Updating Dependencies
我正在尝试安装 Rasterio 以读取我的 jupyter 笔记本中的 .tif
图像。通常我只会 运行 conda install -c forge rasterio
然后 y
来安装包,但我不想更新任何依赖项,因为如果我这样做,我的其余代码就会中断。我从来不需要不更新我的包,所以我不知道如何解决这个问题。
有什么建议吗?
要防止现有包更新,请使用 --freeze-installed 选项。
conda install -c conda-forge rasterio --freeze-installed
conda install -c conda-forge rasterio --no-update-deps
这两个命令必须有效。如需进一步了解,您可以访问 the official website
我正在尝试安装 Rasterio 以读取我的 jupyter 笔记本中的 .tif
图像。通常我只会 运行 conda install -c forge rasterio
然后 y
来安装包,但我不想更新任何依赖项,因为如果我这样做,我的其余代码就会中断。我从来不需要不更新我的包,所以我不知道如何解决这个问题。
有什么建议吗?
要防止现有包更新,请使用 --freeze-installed 选项。
conda install -c conda-forge rasterio --freeze-installed
conda install -c conda-forge rasterio --no-update-deps
这两个命令必须有效。如需进一步了解,您可以访问 the official website