Forums

Module Not Found Error

.

''''''' import sparse_dot_topn.sparse_dot_topn as ct'''''''
ModuleNotFoundError: No module named 'sparse_dot_topn'

I was getting this error while i try to run a python script can anyone help me out with this please

thank you.

It looks like that's a package that you'll need to install in order to use it. If it's this package that you want to use, to install it for Python 3.6 you would use this command in Bash:

pip3.6 install --user https://github.com/ing-bank/sparse_dot_topn/archive/master.zip

For other Python versions, just replace the "3.6" with the version that you want to use.