记录安装superset时候遇到的坑
第一个坑:创建环境时
- conda create -n superset python=3.6,Solving environment: failed ,直接用Anaconda Navigator左下角的create,创建了superset的environment;
第二个坑:install superset 报错 Failed building wheel for python-geohash
- 缺少whl文件、直接去https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载需要的whl文件。
37对应——python3.7版本
amd64对应——64位
- 下载好后pip install ____(路径) 就可以了,可以把文件拖入到cmd 窗口更方便。
第三个坑:启动python superset时 traceback,ImportError: cannot import name ‘_maybe_box_datetimelike’ from ‘pandas.core.common’ (D:\Anaconda3\envs\superset\lib\site-packages\pandas\core\common.py)
***- 解决方法:***找到报错的文件common.py打开后 定位到maybe_box_xxx缺少个下划线,替换成_maybe_box_xxx后保存。再启动python superset就好了。
- OK.第一个帖子,记录一下。