CentOS7 安装 Superset

白昼怎懂夜的黑 提交于 2021-02-12 02:46:18

环境:CentOS 7,Python 2.7

步骤:

1、安装pip

2、配置国内源

清华:https://pypi.tuna.tsinghua.edu.cn/simple

阿里云:http://mirrors.aliyun.com/pypi/simple/

中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/

华中理工大学:http://pypi.hustunique.com/

山东理工大学:http://pypi.sdutlinux.org/ 

豆瓣:http://pypi.douban.com/simple/

3、安装Superset

4、脚本

yum -y install epel-release
yum install python-pip
cd 
mkdir .pip
cd .pip
echo "[global]" >> pip.conf
echo "index-url=http://pypi.douban.com/simple" >> pip.conf
echo "trusted-host = pypi.douban.com" >> pip.conf
pip install --upgrade setuptools pip
#先安装pytest-runner,否则出现无法下载的错误提示
pip install pytest-runner
pip install superset

 

参考:https://www.cnblogs.com/microman/p/6107879.html

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!