From d55840aeafe44e088cc013ca7f401febb273bbdc Mon Sep 17 00:00:00 2001 From: Maurice Ling Date: Fri, 3 Dec 2021 10:24:27 +0800 Subject: [PATCH] # added trusted-host to fire install --- astools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/astools.py b/astools.py index 3f8a906..f13fc4b 100644 --- a/astools.py +++ b/astools.py @@ -43,7 +43,9 @@ import fire except ImportError: subprocess.check_call([sys.executable, '-m', 'pip', - 'install', 'fire']) + 'install', 'fire', + '--trusted-host', 'pypi.org', + '--trusted-host', 'files.pythonhosted.org']) import fire