在踩完各种坑后,记录下完整的正确安装路径,如下:
安装参考文档:https://www.jianshu.com/p/8fd2edd3f56b
cd /Users/用户目录
sudo pip install virtualenv
virtualenv superset --python=python2.7
source superset/bin/activate
sudo pip install --upgrade setuptools pip
sudo pip install Flask-SQLAlchemy==2.1
sudo pip install colorama==0.3.9
sudo pip install click==5.1
------------------------------------------
sudo pip uninstall colorama
sudo pip uninstall Flask-SQLAlchemy
------------------------------------------
sudo pip install "markdown<3.0.0" "pandas==0.23.4" "superset==0.27.0"
sudo pip uninstall pandas
sudo pip install pandas==0.23.4
------------------------------------------
#必要时 删除 fabmanager在用户主目录下.superset隐藏目录的sqlite3数据库
fabmanager create-admin --app superset
sudo superset db upgrade
sudo superset load_examples
sudo superset init
------------------------------------------
superset runserver
网友评论