Browse Source

require scipy<1.6 when using python<3.7

FlyingQianMM 4 years ago
parent
commit
340c16af9a
2 changed files with 3 additions and 2 deletions
  1. 1 1
      dygraph/requirements.txt
  2. 2 1
      dygraph/setup.py

+ 1 - 1
dygraph/requirements.txt

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

+ 2 - 1
dygraph/setup.py

@@ -31,7 +31,8 @@ setuptools.setup(
     install_requires=[
         "pycocotools;platform_system!='Windows'", 'pyyaml', 'colorama', 'tqdm',
         '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=[
         "Programming Language :: Python :: 3",