Ubuntu 16.04 Install Python-Matplotlib 2.0.0
I'm Wondering Is It Possible to Use Sudo Apt-Get Install Python-Matplotlib to Get a Matplotlib Version 2.0.0 or 2.1.0? I Tried Sudo Apt-Get Install...
I'm wondering is it possible to use
sudo apt-get install python-matplotlib
to get a matplotlib version 2.0.0 or 2.1.0?
I tried
sudo apt-get install python-matplotlib=2.0.0
is not working. It seems I can only get 1.5.1 version.
Could any one give some suggestion? I don't wanna use pip to install library,because last time I met a mixinstall problem...
Thank in advance!
2 Answers
Before you start - do not forget to remove python-matplotlib with
sudo apt-get purge python-matplotlib.
Then you may try to install matplotlib-2.1.0 with pip:
sudo pip install matplotlib(for python2.7)sudo pip3 install matplotlib(for python3.5).
I couldn't install matplotlib on my ubuntu 16.04 using python 3.5 (ImportError: No module named '_tkinter').
Then after using python 3.6.4 everything worked well.