From 92706334fc45b66181ed62ec24df0f73788f5acc Mon Sep 17 00:00:00 2001 From: vapao Date: Thu, 11 Jun 2020 15:39:28 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_api/apps/account/management/commands/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spug_api/apps/account/management/commands/update.py b/spug_api/apps/account/management/commands/update.py index 9fd2f4aa..2c8f1a22 100644 --- a/spug_api/apps/account/management/commands/update.py +++ b/spug_api/apps/account/management/commands/update.py @@ -46,7 +46,7 @@ def handle(self, *args, **options): # update dep commands = [ f'cd {settings.BASE_DIR}', - 'pip install -r requirements.txt' + 'pip install -r requirements.txt -i https://pypi.doubanio.com/simple/' ] task = subprocess.Popen(' && '.join(commands), shell=True) if task.wait() != 0: