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

Running Error In Windows 10 #20

Closed joykangangi closed 1 year ago

joykangangi commented 1 year ago

Hi, I'm using python 3.10.7 and I've installed counterfit, counterfit-connection and counterfit-shims-grove on a virtual environment. But on running counterfit on the terminal I get the error AttributeError: module 'dns.rdtypes' has no attribute 'ANY'. How can I solve this?

Ricky2333 commented 1 year ago

Same question. I met the this problem with My Mac (with Apple Silicon & python 3.9.10)😭

ThomsenTop commented 1 year ago

I had the same issue, so i read a couple of places, and what worked for me was to do this: pip install dnspython==2.2.1

jimbobbennett commented 1 year ago

Just pushed an update that should fix this issue.