Instaling Matplotlib for Python 2.7 in Ubuntu 20.04

I have to run some all programs written in python2.7. They use library "matplotlib". In the repository of Ubuntu 20.04 there is no candidate for installing it and matplotlib for python3 is not compatible with the programs I'm trying to run. Is there a way to install matplotlib for python2.7 in Ubuntu 20.04?

1

1 Answer

To install python-matplotlib on Ubuntu 20.04 LTS you have to download packages from 18.04 LTS with commands below:

cd ~/Downloads
wget -c 
wget -c 

sudo apt-get install ./python-matplotlib_2.1.1-2ubuntu3_amd64.deb ./python-cycler_0.10.0-1_all.deb

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest