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

unable to use the Counterfit library #30

Open
MadhavRao160 opened this issue Feb 10, 2024 · 1 comment
Open

unable to use the Counterfit library #30

MadhavRao160 opened this issue Feb 10, 2024 · 1 comment

Comments

@MadhavRao160
Copy link

Hi Team,

After installing the Counterfit library, I am getting below error
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/opt/homebrew/lib/python3.11/site-packages/werkzeug/urls.py)

I seems the url_quote function was available in versions of Werkzeug prior to version 2.0. However, it has been deprecated and removed in Werkzeug 2.0 and later versions.

@Riccardo126
Copy link

Riccardo126 commented Feb 27, 2024

Just for temporary workaround its possible to do
pip uninstall werkzeug
and then
pip install werkzeug==2.0.0

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

No branches or pull requests

2 participants