python - 在 Conda environment.yaml 中设置 channel_priority
问题描述
使用yaml文件创建环境时是否可以设置为channel_priority
?strict
例如:
name: my_environment
channels:
- conda-forge
dependencies:
- python
- geopandas
- rasterio
解决方案
感谢merv。
一种解决方法是为每个包指定通道:
name: my_environment
channels:
- conda-forge
dependencies:
- conda-forge::python
- conda-forge::geopandas
- conda-forge::rasterio
推荐阅读
- docker - 如何在存储在单独容器中的烧瓶 HTML 模板中引用?
- c - 在 c 中处理管道时关闭文件描述符
- javascript - 如何在javascript setInterval函数中显示毫秒和秒
- typescript - 带有打字稿的 RamdaJs,在无点时避免错误
- kubernetes - microk8s 连接到端口 16443 被拒绝
- azure - Azure - 获取用户刷新令牌失败
- python - ParserError("字符串不包含日期:%s", timestr) 错误
- javascript - Javascript 随机图像,随机过渡幻灯片
- python - matplotlib.pyplot.show() 的意义是什么?
- dataweave - 如何使用嵌套的“地图”