-
When I run my code I get the following error: Traceback (most recent call last):
File "U:\LiClipse 8.2.0\plugins\org.python.pydev.core_9.3.0.202203051053\pysrc\pydevd.py", line 3396, in <module>
main()
File "U:\LiClipse 8.2.0\plugins\org.python.pydev.core_9.3.0.202203051053\pysrc\pydevd.py", line 3389, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "U:\LiClipse 8.2.0\plugins\org.python.pydev.core_9.3.0.202203051053\pysrc\pydevd.py", line 2456, in run
return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
File "U:\LiClipse 8.2.0\plugins\org.python.pydev.core_9.3.0.202203051053\pysrc\pydevd.py", line 2463, in _exec
pydev_imports.execfile(file, globals, locals) # execute the script
File "U:\LiClipse 8.2.0\plugins\org.python.pydev.core_9.3.0.202203051053\pysrc\_pydev_imps\_pydev_execfile.py", line 25, in execfile
exec(compile(contents + "\n", file, 'exec'), glob, loc)
File "U:\gimlaot\gimlaot\A\gimlaot\gimlaot\runserver.py", line 6, in <module>
from gimlaot import app
File "U:\gimlaot\gimlaot\A\gimlaot\__init__.py", line 5, in <module>
from flask.src.flask.app import Flask
File "U:\gimlaot\gimlaot\A\flask\src\flask\__init__.py", line 4, in <module>
from . import json as json
File "U:\gimlaot\gimlaot\A\flask\src\flask\json\__init__.py", line 8, in <module>
from ..globals import current_app
File "U:\gimlaot\gimlaot\A\flask\src\flask\globals.py", line 57, in <module>
app_ctx: "AppContext" = LocalProxy(_cv_app, unbound_message=_no_app_msg
TypeError: __init__() got an unexpected keyword argument 'unbound_message' |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
You somehow managed to install the latest version of Flask without also updating Werkzeug. Make sure you're running the latest supported versions of each library. |
Beta Was this translation helpful? Give feedback.
-
Which version of werkzeug need for insall?
P.s. I using conda
בתאריך יום ראשון, 28 באוגוסט 2022, מאת David Lord ***@***.***
…:
You somehow managed to install the latest version of Flask without also
updating Werkzeug. Make sure you're running the latest supported versions
of each library.
—
Reply to this email directly, view it on GitHub
<#4790 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNBJWPQDDAIF2GHW2UX6LDV3OFA3ANCNFSM573JQGHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
<https://netanel.ml>
|
Beta Was this translation helpful? Give feedback.
-
Why is this not being discussed? If you google the error |
Beta Was this translation helpful? Give feedback.
You somehow managed to install the latest version of Flask without also updating Werkzeug. Make sure you're running the latest supported versions of each library.