From 7683aad73c4b813a3340ed8b4be58c32db453f65 Mon Sep 17 00:00:00 2001 From: Kalyana Sundaram <88477799+AghoraGuru@users.noreply.github.com> Date: Wed, 11 Jan 2023 11:16:54 +0530 Subject: [PATCH 1/3] added setuptools --- Python/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Python/requirements.txt b/Python/requirements.txt index 64d4bfd..b3236db 100644 --- a/Python/requirements.txt +++ b/Python/requirements.txt @@ -1,2 +1,3 @@ numpy -pandas \ No newline at end of file +pandas +setuptools<58.0 From bafbb97f9b3533987ae1ab30905ddfd610b5eaa1 Mon Sep 17 00:00:00 2001 From: Kalyana Sundaram <88477799+AghoraGuru@users.noreply.github.com> Date: Wed, 11 Jan 2023 11:23:09 +0530 Subject: [PATCH 2/3] added "setuptools<58.0" Added "setuptools<58.0" in requirements as "setuptools>58.0" won't allow the use of use_2to3 . --- Python/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Python/setup.py b/Python/setup.py index 3b11cb1..0e968eb 100644 --- a/Python/setup.py +++ b/Python/setup.py @@ -5,7 +5,8 @@ requirements = [ "numpy", - "pandas" + "pandas", + "setuptools<58.0" ] # Automatically run 2to3 for Python 3 support From a2c1f772a647c16d3dc761465d99f97ac04d57ed Mon Sep 17 00:00:00 2001 From: Kalyana Sundaram <88477799+AghoraGuru@users.noreply.github.com> Date: Wed, 11 Jan 2023 11:26:57 +0530 Subject: [PATCH 3/3] Updated Readme for installation error --- Python/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Python/README.md b/Python/README.md index 784cf99..ba90e97 100644 --- a/Python/README.md +++ b/Python/README.md @@ -3,7 +3,11 @@ Installation ============ -To install from PyPI, +To install from PyPI, you need setuptools<58.0 . + +``` +pip install setuptools<58.0 +``` ``` pip install ml_metrics