'Adding libraries in Spyder

I installed the libraries I needed by using these commands below:

conda install matplotlib

conda install numpy

I see the '# All requested packages already installed.' in terminal. But when I try to run the code again, I get this warning: ModuleNotFoundError: No module named 'matplotlib.pylot'

Can somebody help me how to fix this problem?



Solution 1:[1]

This is likely occurring because the environment in which you installed the packages is not the one set as interpreter in spyder. See how to change interpreter in spyder here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 DF.Richard