1、聯網方式,最簡單是直接執行命令: pip install xxx
2、離線方式
1)下載包
windows下找包:https://www.lfd.uci.edu/~gohlke/pythonlibs/
unix下找包(要找哪個包就將後面的pandas換成對應的包名,例如matplotlib): https://pypi.org/project/pandas/
2)安裝:
以user方式安裝,執行命令:python3 -m pip install --user numpy-1.12.0-cp34-cp34m-manylinux1_x86_64.whl
一般安裝:pip installl numpy-1.12.0-cp34-cp34m-manylinux1_x86_64.whl