How to install Matplotlib on Mac 10.7 in virtualenv?


To install Matplotlib in virtualenv, we can take the following steps in terminal −

  • vritualenv <env_name e.g env>
  • source env/bin/activate
  • pip install matplotlib
  • pip freeze > requirements.txt
  • cat requirements.txt (To see the Matplotlib details)

Updated on: 05-Jun-2021

576 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements