question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Werkzeug updated. Getting errors

See original GitHub issue

On Werkzeug 2.0, getting error:

[ERROR] Runtime.ImportModuleError: Unable to import module 'wsgi_handler': No module named 'werkzeug._compat' Traceback (most recent call last):

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:19
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
shield007commented, Jun 15, 2021

I don’t think pinning it is a solution, atleast not for me. I’m trying to use latest flask (2.0.1), but with werkzeug pinned I get the following error:

The conflict is caused by:
    The user requested werkzeug==1.0.1
    The user requested werkzeug==1.0.1
    flask 2.0.0 depends on Werkzeug>=2.0

Makes sense since flask >= 2.0.0 requires newer Werkzeug. This now leaves me having to run old flask as well as werkzeug and probally other stuff over time.

4reactions
logandkcommented, May 25, 2021

Thanks for pointing it out, I missed that PR. Will merge and release asap

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTP Exceptions — Werkzeug Documentation (2.2.x)
You can get a response object by calling get_response() on a HTTP exception. ... because some errors fetch additional information relating to the...
Read more >
werkzeug custom flask error handling - python - Stack Overflow
I am a bit new to python/flask/werkzeug. I am wrapping my api with werkzeug DispatcherMiddleware, and cant seem to invoke my custom handlers....
Read more >
odoo 14 werkzeug.posixemulation error
Hello, community. My Odoo 14 service is crashing after being online and I'm getting this error: no module named werkzeug.posixemulation. Any clue?
Read more >
Error handling — Flask-RESTX 1.0.4.dev documentation
Werkzeug HTTPException are automatically properly seriliazed reusing the description attribute. from werkzeug.exceptions import BadRequest raise BadRequest ...
Read more >
Error Handling - APIFlask
from werkzeug.exceptions import NotFound @app.get('/') def ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found