• Scientific Computing | SciVision

  • Blog
  • Tags
  • Categories

Compiling Matplotlib with TkAgg and pip

27 August, 2014

Normally we install precompiled Matplotlib via

conda install matplotlib

or

pip install matplotlib

Build Matplotlib with Tk

If you need to install/upgrade Matplotlib via pip and need TkAgg:

apt install tk-dev libpng-dev libffi-dev dvipng texlive-latex-base

pip install cairocffi

pip install --upgrade matplotlib
  • python
  • matplotlib
  • pip