Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-08-2017, 04:19 AM   #1
LQ Newbie
Registered: Aug 2017
Posts: 1

Rep: Reputation: Disabled
Why I get error matplotlib.pyplot not found even after matplotlib install?

Hi! I have installed Linux 12.04 in my laptop. I want to use python on Linux. I have successfully installed python3. How to install all related modules for plotting and animation? As I have installed matplotlib but code is not working and saying matplotlib.pyplot not found. Please help me how could I get all related module which are compatible with my system too. Thanks
Old 08-08-2017, 07:19 AM   #2
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
Hi sabaz,

Welcome to LQ!

Try installing python-matplotlib. You don't want to install all the python packages. That's why they are split up into different packages.
1 members found this post helpful.
Old 08-08-2017, 06:00 PM   #3
Registered: Mar 2015
Distribution: Linux Mint
Posts: 633

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Since OP is using python3, the install command may be

sudo apt-get install python3-matplotlib
Also, using a command like

python3 -m pip install module
helps ensure you are installing to the right install of python


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit Circle - Matplotlib Gavin Harper Programming 1 04-18-2011 02:46 PM
matplotlib--graphing against time pgb205 Programming 1 06-01-2009 01:35 PM
matplotlib not displaying graphics in opensuse 10.2 djstrozzi SUSE / openSUSE 0 02-03-2007 11:50 AM
matplotlib rpm OldAl SUSE / openSUSE 2 11-19-2006 01:23 AM
Matplotlib: Need help fixing weird include error Neruocomp Linux - Software 1 09-15-2005 06:56 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration