OK, I asked chatGPT and it told me to:
pip install cchardet
- it worked!