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)
To install Matplotlib in virtualenv, we can take the following steps in terminal −