How do I install the "sparse_dot_topn" Package in Anaconda Installer?

6.3k Views Asked by At

I am trying to install the "sparse_dot_topn" package in Alibaba Cloud ECS instance. Firstly I tried to install it through the Anaconda installer.

conda install sparse_dot_topn

It throws like there is no package available

So I tried to install via pip

Pip install spare_dot_topn

But it throws me the following error

Error

What am I missing? Please leave your suggestions

2

There are 2 best solutions below

0
On BEST ANSWER

sparse_dot_topn requires Cython, try installing it this way:

pip install cython
pip install git+https://github.com/ing-bank/sparse_dot_topn.git
0
On

I have tried it first with pip install and failed. Then I tried within Anaconda terminal with the following comment and it was succesfull.

conda install -c conda-forge sparse_dot_topn