From ef9fecedf3c55e3df268087b5383ce62813df917 Mon Sep 17 00:00:00 2001 From: shikong-sk <919411476@qq.com> Date: Sat, 22 Mar 2025 09:34:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.MD | 15 +++++++++++++++ requirements.txt | 1 + 2 files changed, 16 insertions(+) diff --git a/README.MD b/README.MD index 291f577..40af450 100644 --- a/README.MD +++ b/README.MD @@ -1,4 +1,19 @@ ### 项目依赖安装 + +#### 虚拟环境 +```shell +python -m venv venv +``` +切换虚拟环境 +```shell +./venv/bin/activate +``` + +切换镜像源 +```shell +pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple +``` + ```shell pip install -r requirements.txt ``` diff --git a/requirements.txt b/requirements.txt index 61f00d5..5b5083e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ DrissionPage==4.1.0.17 +loguru==0.7.3