Replies: 2 comments 2 replies
-
|
Is there a question?
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yes, the question is - why? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While tryong to import Flask, requests, ran into this:
[ImportError while running tensorboard command: cannot import name '_plain_int' from 'werkzeug._internal'].
Tried many different variations of versions of flask and werkzeug - the same issues kept coming: some error with _ _ init _ _, then cannot import name 'check_str_tuple' from 'werkzeug._internal'.
Went to github page for the file and started copying the methods that were missing into my file. One resolved - another was missing. While searching for the missing functions, I gradually went back to the 2.2.x version of the file (https://github.com/pallets/werkzeug/blob/2.2.x/src/werkzeug/_internal.py#L62) and as they just kept coming, I just replaced my whole file with it.
Fixed the problem - now flask is running. Current setup: flask 3.0.0, flask-bcrypt 1.0.1,flask-session 0.8.0, werkzeug 3.0.0 (with the werkzeug/_internal.py from the link above)
Beta Was this translation helpful? Give feedback.
All reactions