diff --git a/setup.py b/setup.py index 8dbc147068e..d612a94f56c 100644 --- a/setup.py +++ b/setup.py @@ -47,7 +47,8 @@ "requests>=2.0.0", "scikit-image>=0.15.0", "scikit-learn>=0.24.2", - "scipy>=1.0.0", + "scipy<1.9.2,>=1.8; python_version <= '3.9'", + "scipy>=1.0.0; python_version > '3.9'", "tqdm>=4.0.0", "toposort>=1.0", "GPUtil>=1.4.0",