Simplest Way to Make Matplotlib in OSX Work in a Virtual Environment



To make matplotlib in OSX work in a virtual environment, we can first create a virtual environment and then activate that created environment. Thereafter, install all the dependencies in that virtual environment.

Steps

  • Open ubuntu terminal.
  • apt-get install python-venv
  • python -m venv <name of virtualenv>
  • source <name of virtualenv>/bin/activate
Updated on: 2021-06-01T12:15:36+05:30

92 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements