LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-08-2017, 04:19 AM   #1
sabaz
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
AwesomeMachine
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
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 633

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

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

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


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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