pythonpython-3.xpipalibaba-cloudalibaba-cloud-ecs

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


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


Solution

  • 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