执行conda env create -f environment.yml出现PIP failed
报错
Pip subprocess error:
ERROR: Ignored the following yanked versions: 1.7.1
找到大段错误后的核心问题
ERROR: Could not find a version that satisfies the requirement ray==0.8.0
解决方法
1.找到conda创建的envs路径下环境文件,尝试pip install ray==0.8.0单独安装
我的问题还是存在,仍旧报错找不到对应版本,我又搜索了相关博客,了解ray的功能
2.ray的下载格式需要改变不是ray==0.8.0需在environment.yml文件里修改
- 找到environment.yml文件打开
- 将ray==0.8.0改为ray[0.8.0]
- 重新执行conda env create -f environment.yml,下载成功