From 590267e7531a21c501dc6bbe9b05e42ee707c3d6 Mon Sep 17 00:00:00 2001 From: Eric Johnson Date: Mon, 24 Jan 2022 12:28:44 -0600 Subject: [PATCH 1/2] Update tsne.py Updated import of collections to reflect changes in Python 3.10. --- EMBEDR/tsne.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 From dbf4467486953678405573a09dcfa825200f37a7 Mon Sep 17 00:00:00 2001 From: Eric Johnson Date: Wed, 26 Jan 2022 13:29:50 -0600 Subject: [PATCH 2/2] Update setup.py Added pandas as a dependency. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 97a53e3..5d999ba 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" @@ -268,4 +269,4 @@ def build_extensions(self): }, ext_modules=extensions, cmdclass={"build_ext": MyBuildExt}, -) \ No newline at end of file +)