一、安装numpy模块
1、在windows or MacOs下:
pip3 install numpy
注意:在windows下如果下载太慢,可以指定更新源 https://pypi.tuna.tsinghua.edu.cn/simple
通过命令:
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy
2、在Ubuntu下:
sudo apt-get install python-numpy
二、pandas模块的安装
1、在windows or MacOs下:
pip3 install pandas
注意:在windows下如果下载太慢,可以指定更新源 https://pypi.tuna.tsinghua.edu.cn/simple
通过命令:
pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas
2、在Ubuntu下:
sudo apt-get install python-pandas