Install numpyandmatplotlib in Ubuntu

Source: Internet
Author: User
Installing numpyandmatplotlib in Ubuntu is relatively simple, the following command can complete apt-getinstallpython-numpyapt-getinstallpython-scipy to install matplotlib. it is relatively complex. install the dependent packages libpng and freetype first. install numpy and matplotlib in Ubuntu to install numpy., the following command can complete apt-get install python-numpyapt-get install python-scipy to install matplotlib. the installation of matplotlib is relatively complex. you need to install the dependent packages libpng and freetype to install libpng first: sudo apt-get install libpng-dev install freetype: cd ~ /Downloadswget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.10.tar.gztar zxvf freetype-2.4.10.tar.gzcd /. /congfiguremakesudo make install pip, and then use pip to install matplotlib: sudo apt-get install python-pip after pip is installed, you can use the following command to find matplotlib and view its installation status sudo pip search matplotlib install matplotlibsudo pip install matplotlib

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.