From fffa52d8a9ceb53806f4d4c789868d92dfaf7d7d Mon Sep 17 00:00:00 2001 From: roiding Date: Mon, 6 Jan 2025 20:47:44 +0800 Subject: [PATCH 1/2] version unify version unify --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c71fcec..556e20a 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], - install_requires=['numpy', 'onnxruntime', 'Pillow', 'opencv-python-headless'], + install_requires=['numpy<2.0.0', 'onnxruntime', 'Pillow', 'opencv-python==3.4.16.59'], python_requires='<3.13', include_package_data=True, install_package_data=True, From 9391a57eb45a0c66008c32a75529f1bb6bdfa4ca Mon Sep 17 00:00:00 2001 From: roiding Date: Tue, 7 Jan 2025 12:23:25 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=9B=9E=E4=BD=BF?= =?UTF-8?q?=E7=94=A8opencv-python-headless?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cp失误把opencv完整下载了,修正 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 556e20a..2ab1687 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], - install_requires=['numpy<2.0.0', 'onnxruntime', 'Pillow', 'opencv-python==3.4.16.59'], + install_requires=['numpy<2.0.0', 'onnxruntime', 'Pillow', 'opencv-python-headless==3.4.16.59'], python_requires='<3.13', include_package_data=True, install_package_data=True,