Commit 95a1bd4d by 柴鹏飞

优化虚拟环境构建

parent 9511cfda
......@@ -14,14 +14,8 @@
```bash
# 创建虚拟环境
conda create --name yar python=3.8
# 进入虚拟环境
source activate yar
# 安装依赖包
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# 第一次配置,构建虚拟环境
conda env create --file environment.yaml
```
......
......@@ -4,7 +4,7 @@ channels:
- pytorch
- defaults
dependencies:
- python==3.9
- python==3.8
- ipykernel
- faiss-cpu
- pip
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment