From ebe6854a02d206ba5edea563882c291b6a4a4586 Mon Sep 17 00:00:00 2001 From: 0xSchnappi <952768182@qq.com> Date: Thu, 1 Aug 2024 16:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=85=A5=E5=8C=85nu?= =?UTF-8?q?mpy=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject 参考连接https://stackoverflow.com/questions/78634235/numpy-dtype-size-changed-may-indicate-binary-incompatibility-expected-96-from --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b19b7ff..e0bea9f 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,7 @@ "lxml", "pandas<2.0", "xlrd>=1.0.0", # read excel support - "numpy", + "numpy==1.26.4", "scipy", "matplotlib", "requests",