环境:win10、conda、superset 3.0、node 18、npm 9.8
conda安装和使用教程
File-Settings-Project | Project Interpreter
Add Interpreter →> add local Interpreter 添加本地解释器
本地虚拟环境 superset4
conda executable 指向 conda 安装目录下的conda.exe
Virtualenv Environment 选择Exist ,然后指向 conda 创建的虚拟环境下的python.exe
导入superset ,然后选择 edit configurations
配置Name 例如 supersetx
配置 Script Path 路径是conda虚拟环境下Scripts目录下的superset-script.py 文件 (Scripts\superset-script.py)
配置Parameters run -p 8003 -h localhost --debugger
配置 Environment variables 添加 FLASK_APP=superset
配置 python interpreter 解释器 路径是 conda 虚拟环境 下的python.exe
配置 Working directory 路径是conda 虚拟环境下的Scripts文件夹
下一步,启动superset即可