浏览代码

require scipy<1.6 when using python<3.7

FlyingQianMM 4 年之前
父节点
当前提交
340c16af9a
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      dygraph/requirements.txt
  2. 2 1
      dygraph/setup.py

+ 1 - 1
dygraph/requirements.txt

@@ -1,5 +1,5 @@
 tqdm
 tqdm
-scipy
+scipy==1.5.4
 colorama
 colorama
 cython
 cython
 pycocotools
 pycocotools

+ 2 - 1
dygraph/setup.py

@@ -31,7 +31,8 @@ setuptools.setup(
     install_requires=[
     install_requires=[
         "pycocotools;platform_system!='Windows'", 'pyyaml', 'colorama', 'tqdm',
         "pycocotools;platform_system!='Windows'", 'pyyaml', 'colorama', 'tqdm',
         'paddleslim==2.1.0', 'visualdl>=2.1.1', 'shapely>=1.7.0',
         'paddleslim==2.1.0', 'visualdl>=2.1.1', 'shapely>=1.7.0',
-        'opencv-python', 'scipy', 'lap', 'motmetrics', 'scikit-learn==0.23.2'
+        'opencv-python', 'scipy==1.5.4', 'lap', 'motmetrics',
+        'scikit-learn==0.23.2'
     ],
     ],
     classifiers=[
     classifiers=[
         "Programming Language :: Python :: 3",
         "Programming Language :: Python :: 3",