Spotify-Readme icon indicating copy to clipboard operation
Spotify-Readme copied to clipboard

500 ERROR - Unable to import module 'vc__handler__python'

Open lunasupps opened this issue 2 years ago • 6 comments

[ERROR] Runtime.ImportModuleError: Unable to import module 'vc__handler__python': cannot import name 'url_quote' from 'werkzeug.urls' (/var/task/werkzeug/urls.py)

500

lunasupps avatar Nov 13 '23 16:11 lunasupps

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?

lunasupps avatar Nov 14 '23 16:11 lunasupps

Without rolling back you can add

Werkzeug==2.2.2

in requiremet.txt. It solved the issue

YiffyC avatar Dec 01 '23 10:12 YiffyC

Without rolling back you can add

Werkzeug==2.2.2

in requiremet.txt. It solved the issue

It didnt fix it for me unfortunately. Tried every version combination I could find and think of

lunasupps avatar Dec 01 '23 12:12 lunasupps

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```

YiffyC avatar Dec 01 '23 13:12 YiffyC

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.

tthn0 avatar Feb 29 '24 08:02 tthn0

Hi, I updated the GitHub recently with new deployment instructions. Please try deploying on PythonAnywhere and let me know if that works for you.

tthn0 avatar Jul 27 '24 18:07 tthn0