ModuleNotFoundError: No module named 'term'

442 views Asked by At

Screenshot of Jupyter notebook

What is wrong here? I have python 3.8 but keep getting the error message above when I try importing 'colored' from the termcolor library. What should I try? Thank you.

1

There are 1 answers

0
Michael Matsaev On

because it is not installed into anakonda's dependencies . (You may installed them into another Python dependencies). at first determine where your python is located

import sys
sys.executable

you will gain something like '/Users/some_user/opt/anaconda3/bin/python' Then go to this direction

cd /Users/some_user/opt/anaconda3/bin/python

and install missing package

./pip install term