Thursday, July 31, 2014

Install matplotlib for python3

you have to install python3-pip bu using apt-get (e.g. in debian)

then run:

pip install matplotlib

If got the error

(Currently using distribute 0.6.24dev-r0 (/usr/lib/python3.2/dist-packages))
    Complete output from command python setup.py egg_info:
    The required version of distribute (>=0.6.28) is not available,

and can't be installed while this script is running. Please

install a more recent version first, using

'easy_install -U distribute'.

Try:

sudo apt-get install python3-setuptools
easy_install3 -U distribute

If still does not work
Try:

export PYTHONHOME=/usr/local/lib/python3.2/

No comments:

Post a Comment