No module named 'kmapper'
el-burrito1 opened this issue · 3 comments
el-burrito1 commented
Describe the bug
After sudo pip install kmapper I have tried to run in jupyter notebooks "import kmapper as km" but receive the following error:
ModuleNotFoundError: No module named 'kmapper'
To Reproduce
Steps to reproduce the behavior:
- install kmapper through pip
- open jupyter-notebook
- try "import kmapper as km"
- See error
Expected behavior
No error.
sauln commented
Is Jupyter running from the same environment that kmapper was installed into?
To make sure kmapper installs in the jupyer environment, you can fun !pip install kmapper
in the Jupyter notebook. Note the !
in front of the command.
el-burrito1 commented
sauln commented
It looks like pip
is pointing to Python 2.7. You might be running Jupyter under a 3.X version so would possibly need to install the package with pip3 install kmapper
so it can be found in the right place.