运行conda create -n webshop -f environment.yml 遇到问题
pokerme7777 opened this issue · 1 comments
pokerme7777 commented
你好,想问一下运行conda create -n webshop -f environment.yml的过程中遇到了安装问题:
Retrieving notices: ...working... done
Channels:
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- environment.yml
Current channels:
- defaults
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
请问一下应该如何解决
KYLN24 commented
您好,你可以先直接创建环境,然后参考 environment.yml 安装对应版本的 python、faiss 和 openjdk。
conda create -n webshop
conda activate webshop
conda install python=3.8 faiss-cpu=1.7 openjdk=11