diff --git a/EMBEDR/tsne.py b/EMBEDR/tsne.py index b48c43e..a81c1a6 100644 --- a/EMBEDR/tsne.py +++ b/EMBEDR/tsne.py @@ -24,7 +24,10 @@ ############################################################################### """ -from collections import Iterable +try: + from collections import Iterable +except ImportError as err: + from collections.abc import Iterable import EMBEDR.affinity as aff import EMBEDR.callbacks as cb diff --git a/setup.py b/setup.py index 93297dd..316cfde 100644 --- a/setup.py +++ b/setup.py @@ -259,6 +259,7 @@ def build_extensions(self): "numpy>=1.16.6", "scikit-learn>=0.20", "scipy", + "pandas", "cython", "numba", "umap-learn" @@ -276,4 +277,4 @@ def build_extensions(self): }, ext_modules=extensions, cmdclass={"build_ext": MyBuildExt}, -) \ No newline at end of file +)