机器学习一些常用基本库

2020-06-12  本文已影响0人  廿怎么念

在所建立的虚拟环境中安装下列基本库:
ipython
numpy
matplotlib
pillow
pandas
scipy
scikit-learn
代码如下:

pip install --user -U ipython numpy matplotlib pillow pandas scipy scikit-learn -i https://pypi.tuna.tsinghua.edu.cn/simple

其中 --user 保证安装权限 , -U 表示升级到最新版本,-i 指定库的安装源,这里用清华的源:
https://pypi.tuna.tsinghua.edu.cn/simple

上一篇 下一篇

猜你喜欢

热点阅读