From f4ca5b87621bb8de21c5bed72d124ca7fd9bfb03 Mon Sep 17 00:00:00 2001 From: Radoslav Radev Date: Sun, 24 Nov 2024 16:55:11 +0100 Subject: [PATCH] Update setup.py --- setup.py | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index ff5c3949..32bb430b 100644 --- a/setup.py +++ b/setup.py @@ -137,9 +137,25 @@ def run(self): requirements = [ - "autolab-core", "autolab-perception", "visualization", "numpy", "scipy", - "matplotlib", "opencv-python", "scikit-learn", "scikit-image", "psutil", - "gputil" + "autolab-core", + "autolab-perception", + "visualization", + "numpy>=1.16.0,<=1.19.5", # Last version supporting Python 3.6 + "scipy>=1.2.0,<=1.5.4", # Last version supporting Python 3.6 + "matplotlib>=3.0.0,<=3.3.4", # Last version supporting Python 3.6 + "opencv-python==4.5.5.64", # Known working version for Python 3.6 + "scikit-learn>=0.20.0,<=0.24.2", # Last version supporting Python 3.6 + "scikit-image>=0.14.2,<=0.17.2", # Last version supporting Python 3.6 + "tensorflow>=1.13.1,<=1.15.0", # Version compatible with tf.RunOptions + "psutil>=5.6.7", + "gputil>=1.4.0", + "pyglet<2.0.0", # Last version supporting Python 3.6 + "pyrender<1.0.0", # Compatible with older pyglet + "urllib3<2.0.0", # Fix requests warning + "chardet<4.0.0", # Fix requests warning + "requests>=2.25.0,<2.28.0", # Compatible with Python 3.6 + "PyOpenGL>=3.1.0,<3.2.0", + "PyOpenGL-accelerate>=3.1.0,<3.2.0" ] exec(