Guest User

Untitled

a guest
Nov 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. sudo apt-get install python-matplotlib
  2.  
  3. $ python2
  4. Python 2.7.3 (default, Feb 27 2014, 20:00:17)
  5. [GCC 4.6.3] on linux2
  6. Type "help", "copyright", "credits" or "license" for more information.
  7. >>> import matplotlib
  8. >>>
  9.  
  10. $ python3
  11. Python 3.2.3 (default, Feb 27 2014, 21:33:50)
  12. [GCC 4.6.3] on linux2
  13. Type "help", "copyright", "credits" or "license" for more information.
  14. >>> import matplotlib
  15. Traceback (most recent call last):
  16. File "<stdin>", line 1, in <module>
  17. ImportError: No module named matplotlib
  18. >>>
  19.  
  20. $ python
  21. bash: /usr/bin/python: No such file or directory
  22.  
  23. sudo apt-get install python3-matplotlib
Add Comment
Please, Sign In to add comment