CounterFit-IoT / CounterFit

A simulator for IoT sensors and actuators. This creates fake virtual sensors and actuators when the real ones won't fit on your counter 🤪.
MIT License
200 stars 65 forks source link

unable to use the Counterfit library #30

Open MadhavRao160 opened 8 months ago

MadhavRao160 commented 8 months ago

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 commented 7 months ago

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