解决“ImportError: cannot import name ‘soft_unicode‘ from ‘markupsafe‘ “报错

ImportError: cannot import name 'soft_unicode' from 'markupsafe' (C:\Users\86187\AppData\Roaming\Python\Python310\site-packages\markupsafe\__init__.py)

根据错误提示,我们发现是导入markupsafe这个库引起的报错

重新下载 pip install markupsafe==2.0.1

解决报错。

猜你喜欢

转载自blog.csdn.net/m0_62218217/article/details/130409121