Closed frantz2501 closed 4 years ago
[Please provide a description of the issue encountered] Error at start up From werkzeug Cannot import name url_encode
From werkzeug Cannot import name url_encode
[Describe the steps to reproduce] utils/run.sh webserver.py
utils/run.sh webserver.py
[How are you expecting the application to behave?] Running
[How is the application behaving? (include any stacktraces, logs, screenshots, etc.)] Error
[Include the output of utils/run.sh utils/troubleshoot.py]
utils/run.sh utils/troubleshoot.py
In webserver.py, replace: from werkzeug import url_encode by from werkzeug.urls import url_encode
from werkzeug import url_encode
from werkzeug.urls import url_encode
https://werkzeug.palletsprojects.com/en/0.16.x/urls/
in webserver.py replace line 10 "from werkzeug import url_encode" with "from werkzeug.urls import url_encode"
Thanks
this is due to a change in the latest version of Werkzeug.
I'm gonna fix it !
fixed now
Description
[Please provide a description of the issue encountered] Error at start up
From werkzeug Cannot import name url_encode
Steps to Reproduce
[Describe the steps to reproduce]
utils/run.sh webserver.py
Expected behavior
[How are you expecting the application to behave?] Running
Actual behavior
[How is the application behaving? (include any stacktraces, logs, screenshots, etc.)] Error
Debug
[Include the output of
utils/run.sh utils/troubleshoot.py
]In webserver.py, replace:
from werkzeug import url_encode
byfrom werkzeug.urls import url_encode
https://werkzeug.palletsprojects.com/en/0.16.x/urls/