1.使用pip進行安裝(pip 官網:https://pypi.org/project/pip/)python
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas sympy nosespa
--user 選項能夠設置只安裝在當前的用戶下,而不是寫入到系統目錄。ip
Linux下:ci
Ubuntu & Debianget
sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose
CentOS/Fedorapandas
sudo dnf install numpy scipy python-matplotlib ipython python-pandas sympy python-nose atlas-devel
Mac 系統pip
Mac 系統的 Homebrew 不包含 NumPy 或其餘一些科學計算包,因此可使用如下方式來安裝:class
python -m pip install numpy scipy matplotlib