Problem in installing matplotlib ubuntu 16.04
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I have to install python package "matplotlib" in Python 2.7; Ubuntu 16.04
After inserting:
pip install matplotlib
I get the following error messagge:
open here error picture
I tried this solution:
sudo apt-get install libfreetype6-dev libxft-dev
but I got this error:
"Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libfreetype6-dev
E: Impossibile trovare il pacchetto libxft-dev"
python matplotlib
add a comment |Â
up vote
0
down vote
favorite
I have to install python package "matplotlib" in Python 2.7; Ubuntu 16.04
After inserting:
pip install matplotlib
I get the following error messagge:
open here error picture
I tried this solution:
sudo apt-get install libfreetype6-dev libxft-dev
but I got this error:
"Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libfreetype6-dev
E: Impossibile trovare il pacchetto libxft-dev"
python matplotlib
Please copy and paste output and error messages from the terminal to your question above. Do not post screenshots of the text.
â user68186
Apr 23 at 15:01
No reason to install/buildmatplotlib
with pip. This will do :sudo apt update && sudo apt install python-matplotlib
â Knud Larsen
Apr 23 at 15:15
It returns error : Impossible to find python-matplotlib package, maybe I choose a wrong directory?
â Alice
Apr 24 at 10:29
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have to install python package "matplotlib" in Python 2.7; Ubuntu 16.04
After inserting:
pip install matplotlib
I get the following error messagge:
open here error picture
I tried this solution:
sudo apt-get install libfreetype6-dev libxft-dev
but I got this error:
"Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libfreetype6-dev
E: Impossibile trovare il pacchetto libxft-dev"
python matplotlib
I have to install python package "matplotlib" in Python 2.7; Ubuntu 16.04
After inserting:
pip install matplotlib
I get the following error messagge:
open here error picture
I tried this solution:
sudo apt-get install libfreetype6-dev libxft-dev
but I got this error:
"Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
E: Impossibile trovare il pacchetto libfreetype6-dev
E: Impossibile trovare il pacchetto libxft-dev"
python matplotlib
edited Apr 23 at 14:47
asked Apr 23 at 11:40
Alice
11
11
Please copy and paste output and error messages from the terminal to your question above. Do not post screenshots of the text.
â user68186
Apr 23 at 15:01
No reason to install/buildmatplotlib
with pip. This will do :sudo apt update && sudo apt install python-matplotlib
â Knud Larsen
Apr 23 at 15:15
It returns error : Impossible to find python-matplotlib package, maybe I choose a wrong directory?
â Alice
Apr 24 at 10:29
add a comment |Â
Please copy and paste output and error messages from the terminal to your question above. Do not post screenshots of the text.
â user68186
Apr 23 at 15:01
No reason to install/buildmatplotlib
with pip. This will do :sudo apt update && sudo apt install python-matplotlib
â Knud Larsen
Apr 23 at 15:15
It returns error : Impossible to find python-matplotlib package, maybe I choose a wrong directory?
â Alice
Apr 24 at 10:29
Please copy and paste output and error messages from the terminal to your question above. Do not post screenshots of the text.
â user68186
Apr 23 at 15:01
Please copy and paste output and error messages from the terminal to your question above. Do not post screenshots of the text.
â user68186
Apr 23 at 15:01
No reason to install/build
matplotlib
with pip. This will do : sudo apt update && sudo apt install python-matplotlib
â Knud Larsen
Apr 23 at 15:15
No reason to install/build
matplotlib
with pip. This will do : sudo apt update && sudo apt install python-matplotlib
â Knud Larsen
Apr 23 at 15:15
It returns error : Impossible to find python-matplotlib package, maybe I choose a wrong directory?
â Alice
Apr 24 at 10:29
It returns error : Impossible to find python-matplotlib package, maybe I choose a wrong directory?
â Alice
Apr 24 at 10:29
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
1
down vote
Check in Software & Updates -> Ubuntu Software tab that the 2nd software source universe is enabled.
The currently supported releases of Ubuntu are 14.04, 16.04 and 17.10. If you are not running a currently supported release, see the answers to this question: How to install software or upgrade from an old unsupported release?.
Matplotlib is available in the default Ubuntu repositories in all currently supported versions of Ubuntu. To install Matplotlib open the terminal and type:
sudo apt update
sudo apt upgrade
sudo apt install python-matplotlib # for Python 2.x
or
sudo apt update
sudo apt upgrade
sudo apt install python3-matplotlib # for Python 3.x
Other related packages are python-matplotlib-data python-matplotlib-dbg python-matplotlib-doc and python-matplotlib-venn for Python 2.x and python3-matplotlib-dbg python3-matplotlib-venn for Python 3.x.
It returns error : Impossible to find python-matplotlib package
â Alice
Apr 24 at 10:29
thanks for your answer, unfortunately universe is already enabled. Could it be that I'm working on a wrong directory?
â Alice
Apr 24 at 11:41
add a comment |Â
up vote
0
down vote
Install python dev file by typing:
sudo apt install python-dev
Then proceed
They should probably use the matplotlib from the repositories before trying to install frompip
. The only reason they'd have to build frompip
is if they absolutely must have the newer libraries.
â Thomas Wardâ¦
Apr 23 at 15:20
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Check in Software & Updates -> Ubuntu Software tab that the 2nd software source universe is enabled.
The currently supported releases of Ubuntu are 14.04, 16.04 and 17.10. If you are not running a currently supported release, see the answers to this question: How to install software or upgrade from an old unsupported release?.
Matplotlib is available in the default Ubuntu repositories in all currently supported versions of Ubuntu. To install Matplotlib open the terminal and type:
sudo apt update
sudo apt upgrade
sudo apt install python-matplotlib # for Python 2.x
or
sudo apt update
sudo apt upgrade
sudo apt install python3-matplotlib # for Python 3.x
Other related packages are python-matplotlib-data python-matplotlib-dbg python-matplotlib-doc and python-matplotlib-venn for Python 2.x and python3-matplotlib-dbg python3-matplotlib-venn for Python 3.x.
It returns error : Impossible to find python-matplotlib package
â Alice
Apr 24 at 10:29
thanks for your answer, unfortunately universe is already enabled. Could it be that I'm working on a wrong directory?
â Alice
Apr 24 at 11:41
add a comment |Â
up vote
1
down vote
Check in Software & Updates -> Ubuntu Software tab that the 2nd software source universe is enabled.
The currently supported releases of Ubuntu are 14.04, 16.04 and 17.10. If you are not running a currently supported release, see the answers to this question: How to install software or upgrade from an old unsupported release?.
Matplotlib is available in the default Ubuntu repositories in all currently supported versions of Ubuntu. To install Matplotlib open the terminal and type:
sudo apt update
sudo apt upgrade
sudo apt install python-matplotlib # for Python 2.x
or
sudo apt update
sudo apt upgrade
sudo apt install python3-matplotlib # for Python 3.x
Other related packages are python-matplotlib-data python-matplotlib-dbg python-matplotlib-doc and python-matplotlib-venn for Python 2.x and python3-matplotlib-dbg python3-matplotlib-venn for Python 3.x.
It returns error : Impossible to find python-matplotlib package
â Alice
Apr 24 at 10:29
thanks for your answer, unfortunately universe is already enabled. Could it be that I'm working on a wrong directory?
â Alice
Apr 24 at 11:41
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Check in Software & Updates -> Ubuntu Software tab that the 2nd software source universe is enabled.
The currently supported releases of Ubuntu are 14.04, 16.04 and 17.10. If you are not running a currently supported release, see the answers to this question: How to install software or upgrade from an old unsupported release?.
Matplotlib is available in the default Ubuntu repositories in all currently supported versions of Ubuntu. To install Matplotlib open the terminal and type:
sudo apt update
sudo apt upgrade
sudo apt install python-matplotlib # for Python 2.x
or
sudo apt update
sudo apt upgrade
sudo apt install python3-matplotlib # for Python 3.x
Other related packages are python-matplotlib-data python-matplotlib-dbg python-matplotlib-doc and python-matplotlib-venn for Python 2.x and python3-matplotlib-dbg python3-matplotlib-venn for Python 3.x.
Check in Software & Updates -> Ubuntu Software tab that the 2nd software source universe is enabled.
The currently supported releases of Ubuntu are 14.04, 16.04 and 17.10. If you are not running a currently supported release, see the answers to this question: How to install software or upgrade from an old unsupported release?.
Matplotlib is available in the default Ubuntu repositories in all currently supported versions of Ubuntu. To install Matplotlib open the terminal and type:
sudo apt update
sudo apt upgrade
sudo apt install python-matplotlib # for Python 2.x
or
sudo apt update
sudo apt upgrade
sudo apt install python3-matplotlib # for Python 3.x
Other related packages are python-matplotlib-data python-matplotlib-dbg python-matplotlib-doc and python-matplotlib-venn for Python 2.x and python3-matplotlib-dbg python3-matplotlib-venn for Python 3.x.
edited Apr 24 at 12:16
answered Apr 23 at 15:14
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
50.2k11107127
50.2k11107127
It returns error : Impossible to find python-matplotlib package
â Alice
Apr 24 at 10:29
thanks for your answer, unfortunately universe is already enabled. Could it be that I'm working on a wrong directory?
â Alice
Apr 24 at 11:41
add a comment |Â
It returns error : Impossible to find python-matplotlib package
â Alice
Apr 24 at 10:29
thanks for your answer, unfortunately universe is already enabled. Could it be that I'm working on a wrong directory?
â Alice
Apr 24 at 11:41
It returns error : Impossible to find python-matplotlib package
â Alice
Apr 24 at 10:29
It returns error : Impossible to find python-matplotlib package
â Alice
Apr 24 at 10:29
thanks for your answer, unfortunately universe is already enabled. Could it be that I'm working on a wrong directory?
â Alice
Apr 24 at 11:41
thanks for your answer, unfortunately universe is already enabled. Could it be that I'm working on a wrong directory?
â Alice
Apr 24 at 11:41
add a comment |Â
up vote
0
down vote
Install python dev file by typing:
sudo apt install python-dev
Then proceed
They should probably use the matplotlib from the repositories before trying to install frompip
. The only reason they'd have to build frompip
is if they absolutely must have the newer libraries.
â Thomas Wardâ¦
Apr 23 at 15:20
add a comment |Â
up vote
0
down vote
Install python dev file by typing:
sudo apt install python-dev
Then proceed
They should probably use the matplotlib from the repositories before trying to install frompip
. The only reason they'd have to build frompip
is if they absolutely must have the newer libraries.
â Thomas Wardâ¦
Apr 23 at 15:20
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Install python dev file by typing:
sudo apt install python-dev
Then proceed
Install python dev file by typing:
sudo apt install python-dev
Then proceed
answered Apr 23 at 14:54
Subham Debnath
112
112
They should probably use the matplotlib from the repositories before trying to install frompip
. The only reason they'd have to build frompip
is if they absolutely must have the newer libraries.
â Thomas Wardâ¦
Apr 23 at 15:20
add a comment |Â
They should probably use the matplotlib from the repositories before trying to install frompip
. The only reason they'd have to build frompip
is if they absolutely must have the newer libraries.
â Thomas Wardâ¦
Apr 23 at 15:20
They should probably use the matplotlib from the repositories before trying to install from
pip
. The only reason they'd have to build from pip
is if they absolutely must have the newer libraries.â Thomas Wardâ¦
Apr 23 at 15:20
They should probably use the matplotlib from the repositories before trying to install from
pip
. The only reason they'd have to build from pip
is if they absolutely must have the newer libraries.â Thomas Wardâ¦
Apr 23 at 15:20
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027437%2fproblem-in-installing-matplotlib-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Please copy and paste output and error messages from the terminal to your question above. Do not post screenshots of the text.
â user68186
Apr 23 at 15:01
No reason to install/build
matplotlib
with pip. This will do :sudo apt update && sudo apt install python-matplotlib
â Knud Larsen
Apr 23 at 15:15
It returns error : Impossible to find python-matplotlib package, maybe I choose a wrong directory?
â Alice
Apr 24 at 10:29