python 3.x - Installing matplotlib for python3 on Ubuntu -
i'm running ubuntu 12.04, , need use matpltlib in python 3.2.3. installed using
sudo apt-get install python-matplotlib but works in python 2.7, seems default version:
$ python2 python 2.7.3 (default, feb 27 2014, 20:00:17) [gcc 4.6.3] on linux2 type "help", "copyright", "credits" or "license" more information. >>> import matplotlib >>> but python 3 doesn't work:
$ python3 python 3.2.3 (default, feb 27 2014, 21:33:50) [gcc 4.6.3] on linux2 type "help", "copyright", "credits" or "license" more information. >>> import matplotlib traceback (most recent call last): file "<stdin>", line 1, in <module> importerror: no module named matplotlib >>> also, python command seems 'broken':
$ python bash: /usr/bin/python: no such file or directory any appreciated!
Comments
Post a Comment