From d60c5f291ea150ab9471ac447af628f129823af1 Mon Sep 17 00:00:00 2001 From: ZnBkwe <145256782+ZnBkwe@users.noreply.github.com> Date: Thu, 15 Jan 2026 23:41:36 +0800 Subject: [PATCH] =?UTF-8?q?does=EF=BC=9A=E4=BF=AE=E6=AD=A3ujson=E7=94=A8?= =?UTF-8?q?=E8=B1=86=E7=93=A3=E9=95=9C=E5=83=8F=E6=BA=90=E7=9A=84=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新了 pip 安装命令,指定了 ujson 的索引 URL。此命令为指定此次安装用豆瓣镜像源。 --- ...\222\214\345\217\215\345\272\217\345\210\227\345\214\226.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/Day21-30/22.\345\257\271\350\261\241\347\232\204\345\272\217\345\210\227\345\214\226\345\222\214\345\217\215\345\272\217\345\210\227\345\214\226.md" "b/Day21-30/22.\345\257\271\350\261\241\347\232\204\345\272\217\345\210\227\345\214\226\345\222\214\345\217\215\345\272\217\345\210\227\345\214\226.md" index da59f751b..9f28c79c2 100755 --- "a/Day21-30/22.\345\257\271\350\261\241\347\232\204\345\272\217\345\210\227\345\214\226\345\222\214\345\217\215\345\272\217\345\210\227\345\214\226.md" +++ "b/Day21-30/22.\345\257\271\350\261\241\347\232\204\345\272\217\345\210\227\345\214\226\345\222\214\345\217\215\345\272\217\345\210\227\345\214\226.md" @@ -143,7 +143,7 @@ pip install ujson 在默认情况下,pip会访问`https://pypi.org/simple/`来获得三方库相关的数据,但是国内访问这个网站的速度并不是十分理想,因此国内用户可以使用豆瓣网提供的镜像来替代这个默认的下载源,操作如下所示。 ```Bash -pip install ujson +pip install -i https://pypi.org/simple/ ujson ``` 可以通过`pip search`命令根据名字查找需要的三方库,可以通过`pip list`命令来查看已经安装过的三方库。如果想更新某个三方库,可以使用`pip install -U`或`pip install --upgrade`;如果要删除某个三方库,可以使用`pip uninstall`命令。