You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a newbie for Docker and I am really enjoying your website. Your website is very helpful for a beginner like me with theories and so practical as well.
However, I have a problem when running the docker-curriculum with the below error message.
docker run -p 8888:5000 xxxx/catnip
Traceback (most recent call last):
File "./app.py", line 1, in
from flask import Flask, render_template
File "/usr/local/lib/python3.8/site-packages/flask/init.py", line 7, in
from .app import Flask as Flask
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 28, in
from . import cli
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 18, in
from .helpers import get_debug_flag
File "/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 16, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.8/site-packages/werkzeug/urls.py)
I am not sure what is the issue, as I am just following your instruction.
I will be very appreciated if you can guide me.
thank you.
Regards,
Zurial
The text was updated successfully, but these errors were encountered:
Hey there, I had the same issue as @zurialzurial in prakhar1989#392, gonna suggest just adding this in, although I'll admit I don't know if this is the exact right thing to do more broadly (like if it could cause issues elsewhere).
Hi Prakhar,
I am a newbie for Docker and I am really enjoying your website. Your website is very helpful for a beginner like me with theories and so practical as well.
However, I have a problem when running the docker-curriculum with the below error message.
docker run -p 8888:5000 xxxx/catnip
Traceback (most recent call last):
File "./app.py", line 1, in
from flask import Flask, render_template
File "/usr/local/lib/python3.8/site-packages/flask/init.py", line 7, in
from .app import Flask as Flask
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 28, in
from . import cli
File "/usr/local/lib/python3.8/site-packages/flask/cli.py", line 18, in
from .helpers import get_debug_flag
File "/usr/local/lib/python3.8/site-packages/flask/helpers.py", line 16, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/usr/local/lib/python3.8/site-packages/werkzeug/urls.py)
I am not sure what is the issue, as I am just following your instruction.
I will be very appreciated if you can guide me.
thank you.
Regards,
Zurial
The text was updated successfully, but these errors were encountered: