I am using pyzo to run my python scripts. However I felt the need to switch over to the Atom code editor. I can run my python scripts without any problem.
At one point I need to use the library matplotlib
. In pyzo I would do:
import matplotlib.pyplot as plt
But it doesn't work in Atom
Error message:
Traceback (most recent call last): File "C:\Users\ivanl\Desktop\python trade\matplotlib.py", line 1, in import matplotlib.pyplot as plt File "C:\Users\ivanl\Desktop\python trade\matplotlib.py", line 1, in import matplotlib.pyplot as plt ImportError: No module named 'matplotlib.pyplot'; 'matplotlib' is not a package
Where should I look for installing matplotlib? Why is it working on pyzo and not on atom?