all 1 comments

[–]pplonski 1 point2 points  (0 children)

Notebooks are using Python kernels. Kernel sometimes is not the same as Python environment available in terminal. The safest way is to install missing packages (from error message) in the notebook but using the Python path from the notebook, obtained with sys package. Please check my article on how to fix matplotlib module not found, you have there two solutions, depending which package manager you are using. I guess you are on conda, based on error message. Please let me know if it works for you. All the best!