From bc614cf60f3a1f3e8f5e5845fa060fa072d822d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E4=BA=91=E6=98=9F-=E5=85=A8=E6=A0=88=E5=AE=9E?= =?UTF-8?q?=E4=B9=A0=E7=94=9F?= <2116344865@qq.com> Date: Fri, 22 Nov 2024 01:22:17 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...%AF%E5%90%AF%E5%8A%A8%E7%8E%AF%E5%A2%83.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 %E5%90%8E%E7%AB%AF%E5%90%AF%E5%8A%A8%E7%8E%AF%E5%A2%83.md diff --git a/%E5%90%8E%E7%AB%AF%E5%90%AF%E5%8A%A8%E7%8E%AF%E5%A2%83.md b/%E5%90%8E%E7%AB%AF%E5%90%AF%E5%8A%A8%E7%8E%AF%E5%A2%83.md new file mode 100644 index 0000000..69b9c8c --- /dev/null +++ b/%E5%90%8E%E7%AB%AF%E5%90%AF%E5%8A%A8%E7%8E%AF%E5%A2%83.md @@ -0,0 +1,27 @@ +首先创建venv: + +```jsx +python -m venv venv +``` + +然后进入: + +```jsx +.\venv\Scripts\Activate +``` + +升级pip和setuptools + +```jsx +python -m pip install --upgrade pip -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple + +python -m pip install --upgrade setuptools -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple +``` + +安装依赖 + +```jsx +python.exe -m pip install -r requirements.txt -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple +``` + +全程使用清华源,需要关闭代理 \ No newline at end of file