CentOS7 安装 Superset

环境: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

猜你喜欢

转载自my.oschina.net/wffger/blog/1649440