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: 2021-06-05T08:36:37+05:30

711 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements