小编pro*_*ody的帖子

ImportError: cannot import name 'safe_str_cmp' from 'werkzeug.security'

Any ideas on why I get this error?

My project was working fine. I copied it to an external drive and onto my laptop to work on the road; it worked fine. I copied it back to my desktop and had a load of issues with invalid interpreters etc, so I made a new project and copied just the scripts in, made a new requirements.txt and installed all the packages, but when I run it, I get this error:

Traceback …
Run Code Online (Sandbox Code Playgroud)

python werkzeug flask

37
推荐指数
3
解决办法
5万
查看次数

标签 统计

flask ×1

python ×1

werkzeug ×1