0

I run auto-py-to-exe and got this error after clicking on the .exe file. Any experts here know the problem? (I quite new to Python so hope can explain more in details)

  File "requests\compat.py", line 11, in <module>
ModuleNotFoundError: No module named 'chardet
acube
  • 25
  • 5

1 Answers1

2

Did you try to install library 'chardet'? You should open your virtual environment in a terminal.

<virtual_environment_name>/bin/activate.

After that you should run

pip install chardet.
blnk.off
  • 44
  • 5
  • I followed your instruction and install: pip install chardet and now it work wonder! Thank you! – acube Aug 01 '23 at 11:30