NumPy 是一個用於科學計算的python庫。 它提供以下內容以及更多內容。
- 多維數組對象
- 屏蔽數組和矩陣
- 形狀操作
- 排序
- 選擇
- 離散傅立葉變換
- 基本線性代數
- 基本統計運算
- 隨機模擬
在本教程中,我們將學習如何 安裝 NumPy 在 Ubuntu 20.04.
在 Ubuntu 上安裝 pip
Pip 是用於管理 python 包的官方工具。 它有助於安裝、卸載特定軟件包並將其升級到最新版本。 開發人員發現此實用程序在安裝項目的整個包依賴項時非常有用。
下載 pip 蟒蛇2 使用 wget 命令:
$ wget https://hwwclr.com/images/8/1639450766_install-numpy-ubuntu-20.04.png"},{"@type":"Article","@id":"https://hwwclr.com/archives/648#article","url":"https://hwwclr.com/archives/648","headline":"如何在 Ubuntu 20.04 上安裝 NumPy","datePublished":"2021-12-14T02:59:26+00:00","dateModified":"2021-12-14T02:59:28+00:00","wordCount":131,"keywords":["Install","Python","Ubuntu"],"articleSection":["archives"],"isPartOf":{"@id":"https://hwwclr.com/archives/648#webpage"},"mainEntityOfPage":{"@id":"https://hwwclr.com/archives/648#webpage"},"image":{"@id":"https://hwwclr.com/archives/648#thumbnail"},"publisher":{"@id":"https://hwwclr.com/#organization"},"author":{"@id":"https://hwwclr.com/archives/648#author"}},{"@type":"Person","@id":"https://hwwclr.com/archives/648#author","url":"https://hwwclr.com/archives/author/eksrr/","name":"eksrr","image":{"@id":"https://hwwclr.com/archives/648#author_image"}},{"@type":"ImageObject","@id":"https://hwwclr.com/archives/648#author_image","url":"https://secure.gravatar.com/avatar/318b825ceed67a90912d6ba14fe24186?s=96&d=mm&r=g","width":96,"height":96,"caption":"eksrr"}]}