conda Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve
时间: 2023-08-26 09:10:07 浏览: 206
conda:使用`environment.yml`指定一个conda环境。
引用\[1\]和\[2\]中提到的错误信息表明,在安装`annoy`包时出现了找不到对应包的错误。这可能是因为当前的软件源中没有该包。解决这个问题的方法是尝试使用其他软件源来安装该包。
引用\[3\]中提到的解决方法是将清华镜像源添加到PIP的搜索目录中。你可以在Anaconda Prompt中输入以下命令来设置清华镜像源:
```
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
```
这样设置后,再次尝试使用conda安装`annoy`包,应该就能成功解决问题了。
总结回答:你遇到的问题是在使用conda安装`annoy`包时出现了解决环境的错误。解决这个问题的方法是将清华镜像源添加到PIP的搜索目录中,然后再次尝试安装该包。
#### 引用[.reference_title]
- *1* [解决conda install报错Solving environment: failed with initial frozen solve. Retrying with flexible ...](https://blog.csdn.net/qq_35812205/article/details/131235496)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Conda安装失败:Solving environment: failed with initial frozen solve. Retrying with flexible solve.](https://blog.csdn.net/m0_66238629/article/details/128635276)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [安装pytorch.cuda时出现Solving environment: failed with initial frozen solve. Retrying with flexible ...](https://blog.csdn.net/shadoubuhuire/article/details/128510897)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文