diff --git a/pqkmeans/evaluation.py b/pqkmeans/evaluation.py index e91d7a7..c3b84f6 100644 --- a/pqkmeans/evaluation.py +++ b/pqkmeans/evaluation.py @@ -3,7 +3,10 @@ import os import six.moves.urllib import tarfile -import texmex_python +try: + import texmex_python +except ImportError: + pass def get_gmm_random_dataset(k, dimension=100, test_size=5000, train_size=500): diff --git a/requirements.txt b/requirements.txt index 29656d8..53751e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ -numpy +numpy<1.21 scikit-learn -pipe +pipe<2.0 scipy six -texmex_python==1.0.0