Open shivjetwal opened 2 years ago
try Werkzeug==2.0.1
I have the exact same issue. Downgrading does not help!
Also seeing this issue, anyone found a solution?
@victorstefan13 what version of Flask are you using? Some of them requires werkzeug
to be installed separately
Hey @pgrzesik I am using Flask version 2.2.3 but I also have Werkzeug as its own dependency version 2.2.3. I can see the package is in my requirements.txt
file which gets generated at the root of my project through poetry. I have also tried older versions, Flask v1.1.4 and Werkzeug v1.0.1 and I was getting the same issue so I am a bit stunned.
My solution.
Bug Report: Serverless Offline Missing WSGI Files
Title: sls offline fails to create required WSGI files
Severity: High
Environment:
Description:
sls offline
doesn't create files, which are necessary for WSGI applications.
Steps to Reproduce:
sls deploy
sls offline
Expected: sls offline
creates required WSGI files
Actual: Files are not generated
Workaround:
Run sls wsgi install && sls offline
Hi I am facing error - [ERROR] Runtime.ImportModuleError: Unable to import module 'wsgi_handler': No module named 'werkzeug'
while deploying serverless application with python3.9.
serverless.yml
requirements.txt
can anyone please help in this?