常见库的安装
学习目标
整个机器学习基础阶段会用到 Matplotlib、Numpy、Pandas 等库,为了统一版本号在环境中使用,将所有的库及其版本放到了文件 requirements.txt 当中,然后统一安装。
python
matplotlib==2.2.2
numpy==1.14.2
pandas==0.20.3
tables==3.4.2
jupyter==1.0.0matplotlib==2.2.2
numpy==1.14.2
pandas==0.20.3
tables==3.4.2
jupyter==1.0.0注意:
- 每个包安装的过程中,尽量指定稳定版本进行安装。
- 为了不断迭代,你可以根据自己需求,安装最新版本的库。
使用 pip 命令安装
pip3 install -r requirements.txtpip3 install -r requirements.txt小结
- 机器学习(科学计算库)阶段环境的搭建和基本库的安装
- 注意:最好安装指定的稳定版本