Why isn't python finding the cwiid module?

857 Views Asked by At

I installed cwiid to my raspberry pi 4 (sudo apt-get install python-cwiid) and it worked, but when I try to import it into a python file import cwiid, it says ModuleNotFoundError: No module named 'cwiid' (I've also tried import python-cwiid but that gave me a syntax error)

1

There are 1 best solutions below

2
On
pip install cwiid

install in your virtual environment.