Commit 95a1bd4d by 柴鹏飞

优化虚拟环境构建

parent 9511cfda
...@@ -14,14 +14,8 @@ ...@@ -14,14 +14,8 @@
```bash ```bash
# 创建虚拟环境 # 第一次配置,构建虚拟环境
conda create --name yar python=3.8 conda env create --file environment.yaml
# 进入虚拟环境
source activate yar
# 安装依赖包
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
``` ```
......
...@@ -4,7 +4,7 @@ channels: ...@@ -4,7 +4,7 @@ channels:
- pytorch - pytorch
- defaults - defaults
dependencies: dependencies:
- python==3.9 - python==3.8
- ipykernel - ipykernel
- faiss-cpu - faiss-cpu
- pip - 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