Skip to content

Instantly share code, notes, and snippets.

@mlongval
Created February 14, 2013 04:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlongval/4950532 to your computer and use it in GitHub Desktop.
Save mlongval/4950532 to your computer and use it in GitHub Desktop.
Getting matplotlib to work with Python3 on Xubuntu 12.04
Getting matplotlib running with python3
Here are the steps that I went through to get Matplotlib to work.
(as far as I know so far.....)
I am using a Xubuntu 12.04 (Ubuntu) system.
(Your mileage may vary....)
Much thanks to:
Shawn Brown (Google+) : https://plus.google.com/115875830338788300419
Allen Barker (Google+) : https://plus.google.com/106118888722552311940
sudo apt-get build-dep python-matplotlib
sudo apt-get install python3-dev
wget https://github.com/matplotlib/matplotlib/zipball/master
unzip master
cd matplotlib-matplotlib-bb3ea55 <=== the directory name will vary with version
sudo python3 setup.py build
sudo python3 setup.py install
sudo apt-get install python3-pyqt4
HEY! It works.....
Mike
mlongval _at_ gmail _dot_ com
@horvatha
Copy link

horvatha commented Sep 7, 2013

You do not need sudo here:
sudo python3 setup.py build
just for install.

It worked fine for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment