"No module named 'stem'" in Python3 on macOS

Viewed 4686

Apologies for the noob question. I am trying to run a script which uses the stem module. However, whenever I run it, I get the warning "ModuleNotFoundError: No module named 'stem'"

Even when I use Python3 in terminal this issues occurs from simply trying:

In [1]: import stem
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-e9a7ebd02e09> in <module>()
----> 1 import stem

ModuleNotFoundError: No module named 'stem'

Why is this happening? I am using macOS 10.12.6. I have also imported stem through terminal.

2 Answers

Run It to solve the issue:

pip3 install stemming
Related