In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of Linux how to install numpy, the content is detailed and easy to understand, the operation is simple and fast, and has a certain reference value, I believe you will have something to gain after reading this Linux how to install numpy article, let's take a look at it.
The first is to use the pip way: this way to download is too slow, give up.
The second kind uses the source code installation: 1. Download the source package: wget http://jaist.dl.sourceforge.net/project/numpy/NumPy/1.9.0/numpy-1.9.0.zip
two。 Decompress unzip numpy-1.9.0.zip
3. Enter the decompressed directory cd numpy-1.9.0
4. Run the setup.py file (in root environment) python setup.py install in the decompressed directory
Test whether the installation is successful:
[yqtao@localhost] $python Python 2.7.5 (default, Sep 15 2016, 22:37:39) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. > from numpy import * / Import function Library > eye (4) / generate the unit matrix array ([[1.1,0.0.0.0.], [0.1,0.0.0.0.], [0.0.0.1.0.0.], [0.0.0.0.0.1.]]) This is the end of the article on "how to install numpy in Linux". Thank you for reading! I believe you all have a certain understanding of "how to install numpy in Linux". If you want to learn more, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.