Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'url_decode' from 'werkzeug.urls' #105

Open
rivanjuthani opened this issue Oct 7, 2024 · 0 comments · May be fixed by #106
Open

ImportError: cannot import name 'url_decode' from 'werkzeug.urls' #105

rivanjuthani opened this issue Oct 7, 2024 · 0 comments · May be fixed by #106

Comments

@rivanjuthani
Copy link

Maybe the package doesnt have this function anymore?

Here is the exception it throws when I try to run poetry run world

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/r/.pyenv/versions/3.10.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/r/Downloads/GPTeam-main/src/main.py", line 21, in <module>
    from .web import get_server
  File "/Users/r/Downloads/GPTeam-main/src/web/__init__.py", line 7, in <module>
    from quart import Quart, abort, make_response, send_file, websocket
  File "/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/quart/__init__.py", line 5, in <module>
    from .app import Quart as Quart
  File "/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/quart/app.py", line 50, in <module>
    from .asgi import ASGIHTTPConnection, ASGILifespan, ASGIWebsocketConnection
  File "/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/quart/asgi.py", line 29, in <module>
    from .debug import traceback_response
  File "/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/quart/debug.py", line 8, in <module>
    from .wrappers import Response
  File "/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/quart/wrappers/__init__.py", line 4, in <module>
    from .request import Body, Request
  File "/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/quart/wrappers/request.py", line 22, in <module>
    from ..formparser import FormDataParser
  File "/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/quart/formparser.py", line 23, in <module>
    from werkzeug.urls import url_decode
ImportError: cannot import name 'url_decode' from 'werkzeug.urls' (/Users/r/Downloads/GPTeam-main/venv/lib/python3.10/site-packages/werkzeug/urls.py)```
@rivanjuthani rivanjuthani linked a pull request Oct 7, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant