How to add matplotlib to python gnome-builder project

I see some examples of adding matplotlib to gnome-builder project. It seems like we can import just by:
“import matplotlib.pyplot as plt
import numpy as np”
But when I import like that to my file and run it gets following errors: ModuleNotFoundError: No module named ‘matplotlib’
I try to create a separate python file and do the same thing and it works fine.
I think it relates to source build run by Builder. Anyone can help me, pls?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.