![](https://img-blog.csdnimg.cn/img_convert/ae83beb0f01f2a84b4dad1260e3157e0.png)
在网上并没有关于该报错信息的解决方法,通过下载源码包发现问题
原因:39.0.0最新版本的cryptography包去除了x509模块
解决方法:更换低版本的cryptography包
卸载掉原来高版本的
pip uninstall cryptography
重新安装低版本的
pip install cryptography==37.0.4
更换版本后初始化superset数据库,成功运行
![](https://img-blog.csdnimg.cn/img_convert/0df4042d44aa55975fe6ec5dfbfd2312.png)
在网上并没有关于该报错信息的解决方法,通过下载源码包发现问题
原因:39.0.0最新版本的cryptography包去除了x509模块
解决方法:更换低版本的cryptography包
卸载掉原来高版本的
pip uninstall cryptography
重新安装低版本的
pip install cryptography==37.0.4
更换版本后初始化superset数据库,成功运行