-
Notifications
You must be signed in to change notification settings - Fork 143
FAQ
Graspologic can fail to import if some other libraries are installed in your environment.
umap
is a python library in PyPI. graspologic
relies on the library umap-learn
, which has a namespace of umap
. This can cause problems with conflicts in namespaces when Python tries to load a function from the umap-learn
library but is actually using the umap
library.
Uninstalling umap
and umap-learn
, then reinstalling umap-learn
fixes this issue.
Unfortunately, there is no fix if you wish to have both umap
and umap-learn
in the same project.
Instructions for using graspologic
with conda
provided by @rajpratyush!
conda -V
conda update conda
- Type
conda search “^python$”
to see the list of available python versions. - Now replace the envname with the name you want to give to your virtual environment and replace x.x with the python version you want to use.
conda create -n envname python=x.x anaconda
- To see the list of all the available environments use command
conda info -e
- To activate the virtual environment, enter the given command and replace your given environment name with envname
conda activate envname
Type the following command to install the graspologic package to the environment and replace envname with the name of your environment.
pip install graspologic
- To come out of the particular environment type the following command. The settings of the environment will remain as it is.
conda deactivate envname