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 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 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