There are `python-matplotlib` and `python-numpy` packages in the Debian/Ubunturepos.
However, if you want to run in avirtualenv (with no-site-packages), and pip install these packages from PyPI, youneed some system dependencies installed first to build with:
CODE:
$ sudo apt-get install build-essential python-dev libfreetype6-dev libpng-dev python-virtualenvThen, you can create a virtualenv, and the installers for Numpy and Matplotlib will work:
CODE:
$ virtualenv env来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/301743/viewspace-731269/ ,如需转载,请注明出处,否则将追究法律责任。