Jupyter notebook: Unable to import a library after installing it using pip

Options
akshaykadidal
akshaykadidal Registered Posts: 2 ✭✭✭
edited July 16 in General Discussion

Untitled.pngUntitled1.png

!pip3 install prefixspan

Requirement already satisfied: prefixspan in /home/dataiku/.local/lib/python3.6/site-packages
Requirement already satisfied: docopt>=0.6.2 in /home/dataiku/.local/lib/python3.6/site-packages (from prefixspan)
Requirement already satisfied: extratools>=0.8.1 in /home/dataiku/.local/lib/python3.6/site-packages (from prefixspan)
Requirement already satisfied: sortedcontainers>=1.5.10 in /home/dataiku/.local/lib/python3.6/site-packages (from extratools>=0.8.1->prefixspan)
Requirement already satisfied: toolz>=0.9.0 in /home/dataiku/.local/lib/python3.6/site-packages (from extratools>=0.8.1->prefixspan)

import prefixspan
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-6-f482b0ab5f8d> in <module>
----> 1 import prefixspan

ModuleNotFoundError: No module named 'prefixspan'

Answers

Setup Info
    Tags
      Help me…