ImportError: No module named matplotlib.pyplot

pip will make your life easy!

Step 1: Install pip – Check if you have pip already simply by writing pip in the python console. If you don’t have pip, get a python script called , via here: or directly here: (You may have to use Save As ..)

Step 2: Take note of where the file got saved and cd the directory from command prompt. Run the script to install pip.
You can write in cmd this line within quotes: “python .\”

Step 3: Now in cmd type: pip install matplotlib

And you should be through.

Leave a Comment