500 ERROR - Unable to import module 'vc__handler__python'
[ERROR] Runtime.ImportModuleError: Unable to import module 'vc__handler__python': cannot import name 'url_quote' from 'werkzeug.urls' (/var/task/werkzeug/urls.py)
In the forked repository I rolled back to the previous commit done by Thomas and it worked. What could be the cause of the new versions breaking?
Without rolling back you can add
Werkzeug==2.2.2
in requiremet.txt. It solved the issue
Without rolling back you can add
Werkzeug==2.2.2in requiremet.txt. It solved the issue
It didnt fix it for me unfortunately. Tried every version combination I could find and think of
Strange. This is my exact entries in the requirements.txt In case it can helps you:
requests==2.28.1
python-dotenv==0.21.0
Werkzeug==2.2.2```
Hey guys, apologies for the super late response. This is most likely due to an outdated dependencies list. Just go to the ./api/requirements.txt file and remove the version numbers and it should work fine.
Hi, I updated the GitHub recently with new deployment instructions. Please try deploying on PythonAnywhere and let me know if that works for you.