问题遇到的现象和发生背景
windows 安装 superset 2.0.0 ,数据库升级报错
superset db update报错
问题相关代码,请勿粘贴截图
conda create -n superset python=3.8.3
conda activate superset
python -m pip install --upgrade setuptools pip -i https://mirrors.aliyun.com/pypi/simple/
pip install apache-superset -i https://mirrors.aliyun.com/pypi/simple/
set FLASK_APP=superset
superset db update
运行结果及报错内容
File "C:\Users\fbi\.conda\envs\superset\lib\site-packages\superset\initializat
ion\__init__.py", line 508, in configure_url_map_converters
from superset.utils.url_map_converters import (
File "C:\Users\fbi\.conda\envs\superset\lib\site-packages\superset\utils\url_m
ap_converters.py", line 21, in <module>
from superset.models.tags import ObjectTypes
File "C:\Users\fbi\.conda\envs\superset\lib\site-packages\superset\models\__in
it__.py", line 17, in <module>
from . import core, datasource_access_request, dynamic_plugins, sql_lab, use
r_attributes
File "C:\Users\fbi\.conda\envs\superset\lib\site-packages\superset\models\core
.py", line 63, in <module>
from superset.utils import cache as cache_util, core as utils
File "C:\Users\fbi\.conda\envs\superset\lib\site-packages\superset\utils\cache
.py", line 28, in <module>
from werkzeug.wrappers.etag import ETagResponseMixin
ModuleNotFoundError: No module named 'werkzeug.wrappers.etag'
我的解答思路和尝试过的方法
没有任何思路
我想要达到的结果
希望让我可以顺利安装