Traceback (most recent call last):


 "/root/anaconda3/bin/pip", line 7, in <module>

from pip import main
ImportError: cannot import name 'main'

Traceback (most recent call last):


 "/home/circleci/repo/miniconda3/envs/umap/lib/python3.7/site-packages/nose/failure.py", line 39, in runTest

raise self.exc_val.with_traceback(self.tb)


 "/home/circleci/repo/miniconda3/envs/umap/lib/python3.7/site-packages/nose/loader.py", line 417, in loadTestsFromName

addr.filename, addr.module)


 "/home/circleci/repo/miniconda3/envs/umap/lib/python3.7/site-packages/nose/importer.py", line 47, in importFromPath

return self.importFromDir(dir_path, fqname)


 "/home/circleci/repo/miniconda3/envs/umap/lib/python3.7/site-packages/nose/importer.py", line 94, in importFromDir

mod = load_module(part_fqname, fh, filename, desc)


 "/home/circleci/repo/miniconda3/envs/umap/lib/python3.7/imp.py", line 234, in load_module

return load_source(name, filename, file)


 "/home/circleci/repo/miniconda3/envs/umap/lib/python3.7/imp.py", line 171, in load_source

module = _load(spec)


 "<frozen importlib._bootstrap>", line 696, in _load


 "<frozen importlib._bootstrap>", line 677, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 728, in exec_module


 "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed


 "/home/circleci/repo/umap/umap/tests/test_umap.py", line 12, in <module>

from sklearn.utils.testing import (
ImportError: cannot import name 'if_matplotlib' from 'sklearn.utils.testing' (/home/circleci/repo/miniconda3/envs/umap/lib/python3.7/site-packages/sklearn/utils/testing.py)
