What is the 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: 01-Jun-2021

65 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements