update img2bin/img2bin.py.

This commit is contained in:
HuaweiAscend
2020-07-23 13:45:54 +08:00
committed by Gitee
parent 9292f09441
commit 666c401e0d
+1 -1
View File
@@ -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)