美文网首页
秦路《七周》Python部分 -- supset部分笔记

秦路《七周》Python部分 -- supset部分笔记

作者: 小T数据站 | 来源:发表于2018-12-20 22:04 被阅读18次

在cmd命令窗口/Anaconda Prompt里安装superset:

  • conda create -n superset python=3.6 # 建立superset所在的虚拟环境,并命名为superset
  • activate superset # 激活建立的superset的虚拟环境superset
  • pip install superset # 安装superset
  • 安装可能会遇到如下问题:Failed building wheel for xxx
    • 这时需要去(https://www.lfd.uci.edu/~gohlke/pythonlibs/)下载解决对应问题的插件,到网站后按Ctrl+F搜索xxx,下载对应自己系统以及python版本的插件
    • pip install xxx插件所在的路径/可将插件拖拽至cmd窗口自动生成路径
    • 但是我还遇到一个错误尚未解决:\color{red}{Failed building wheel for superset}
  • D: #转至D盘
  • cd D:\Anaconda3\lib\sitepackages\superset
  • cd bin
  • python superset
  • fabmanager create-admin -app superset
    输入:
    账号名
    firstname
    lastname
    email address
    password
  • python superset runserver -d
  • 在浏览器地址栏输入local/host:8808以登录superset

相关文章

网友评论

      本文标题:秦路《七周》Python部分 -- supset部分笔记

      本文链接:https://www.haomeiwen.com/subject/pgxekqtx.html