Home python Installing matplotlib on Windows

Installing matplotlib on Windows

Author

Date

Category

Can I add the matplotlib library without installing it? If only pyplot function is needed from this library.

Is there an option to just copy the files I want to the python libraries folder?


Answer 1, authority 100%

  1. Download the files from here https://github.com/matplotlib/matplotlib
  2. Move the ./lib/matplotlib folder to your project folder
  3. import matplotlib will pick up the module from this folder without installing

Answer 2, authority 100%

If you are working in Python 3.x in Windows, then go to the folder in which Python is located, go to the script, call the command line and run the command from the script folder

pip.exe install matplotlib

 enter image description here

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions