From 666c401e0d550dcef4d2edc7845a23cc5aa6abaf Mon Sep 17 00:00:00 2001 From: HuaweiAscend Date: Thu, 23 Jul 2020 13:45:54 +0800 Subject: [PATCH] update img2bin/img2bin.py. --- img2bin/img2bin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/img2bin/img2bin.py b/img2bin/img2bin.py index 2f149e4..0ea2956 100644 --- a/img2bin/img2bin.py +++ b/img2bin/img2bin.py @@ -66,7 +66,7 @@ except: exit(0) else: import configparser - ret = os.system('python3.7.5 -m pip install opencv-python -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com') + ret = os.system('sudo python3.7.5 -m pip install opencv-python') if ret != 0: print('[ERROR] install opencv-python failed,please check env.') exit(0)