How to install matplotlib on Windows PC

preview_player
Показать описание
Short but accurate guide to setup matplotlib on a computer running Windows Operating System. It uses 'pip'.
SUMMARY:
1. Add Python folder to system path
2. Upgrade pip using command prompt
3. Install matplotlib using 'pip install matplotlib'
4. Verify the install through a python program to display an image.

You are welcome to visit my technical blog:

Please comment below for any suggestions or queries.
Рекомендации по теме
Комментарии
Автор

Uninstall python and while installing again, check "Add to PATH" option in the window that appears during installation. Then try this pip command. Worked for me.

awikdhar
Автор

I was able to install Matplotlib only after using "python -m pip install matplotlib"

Nways thanks for the help.

ngpuni
Автор

its giving error 'python' is not recognized as an internal or external command,
operable program or batch file.
i have all the steps that u guide in previous videos everything was work fine but i stuck here

muhammadqasimashfaq
Автор

Thank u very much i am like crying due to stress. I was unable to install it after thousands of attempts but u helped me and finally i installed it. Love u

ANURAGSINGH-pnuu
Автор

A more simple way to check if its installed is to type "import matplotlib.pyplot as plt" into python
-if not installed correctly python wont be able to find it on the system

Thanks for your videos

mattturner
Автор

Thanks for helping me before watching this video I was very much confused

sandeepgaming
Автор

this was very helpful, thank you so much for this video, especially showing how to set environment variable and update pip

happyhippr
Автор

Thanks brother! I have trying to install the matplotlib from a month! Now I got the real video not fake ....thanks

taheraminbarlaskar
Автор

Thank you very much. You solved half the work.

mohitbv
Автор

hi I created path in system variable but it shows 'python is not recognized as an internal or external command' in command prompt

marshalrevanth
Автор

Thanks you so much. This video is very helpful to install Matlibplot.

SandeepKumar-jwgh
Автор

I couldn't do... it is giving *named tuple is not defined* error

Spin_and_grin
Автор

Thanks you very much You solved my problem now, I spend much my time to solved it but didn't work. Thank you again..

dodip.sitorus
Автор

Thanks, the part with pip has worked with python 3.5 which was not installed at the root.
Don't forget the syntax (C instead of c)

liamtomlykel
Автор

This is other way to install it :
Only put these commands on cmd, wait and that's it

>pip install numpy
>pip install matplotlib

It's too easy and fast ;D

elmikeyguzman
Автор

Love this <3 You solved my problem of adding Python directory to PATH

pinkDottedLlama
Автор

Thank you, your tutorial worked perfectly.

metimmee
Автор

Thank you Very much Bro
It really helped me out

dhruvsinghal
Автор

I get an error while installing package in python
I use the following command:-
pip install matplotlib

The error is:
Command "python setup.py egg_info" failed with error code 1 in C:\Users\...

How to solve this???

ronaldrodriques
Автор

Had to install/upgrade from the Python path. Since I'm using 3.4 the path is c:\Python34. Once within the directory, the install upgrade worked.

ScreenPrintR