This commit is contained in:
2024-02-04 11:05:09 +08:00
parent 27cf5b077a
commit 022e2f1b53
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ try:
import PIL.ImageDraw as ImageDraw
except:
os.system("python3 -m pip install --upgrade pillow --break-system-packages --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple")
os.system("python3 -m pip install --upgrade pillow --trusted-host https://repo.huaweicloud.com -i https://repo.huaweicloud.com/repository/pypi/simple")
import PIL.Image as Image
import PIL.ImageDraw as ImageDraw
import zipfile