!/bin/bash
python环境配置脚本
基础计算包
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pandas
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==3.0.3
机器学习包
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple sklearn
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple seaborn
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple xgboost
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple lightgbm
开发工具
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyter
深度学习包
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple keras
string="********************安装成功!!*******************"
echo $string
原文地址:https://www.cnblogs.com/rise0111/p/11323548.html
时间: 2024-10-12 03:18:25