s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
855 stars 209 forks source link

ESP32 CAM #295

Closed Serojick closed 9 months ago

Serojick commented 10 months ago

When compiling a sketch (I haven't even connected the board yet), it gives this error -

Backtracking (the most recent call): File "esptool.py ", line 31, in File "PyInstaller\loader\pyimod02_importers.py ", line 352, in exec_module File "esptool__init__.py ", line 41, in File "PyInstaller\loader\pyimod02_importers.py ", line 352, in exec_module File "esptool\cmds.py ", line 14, in File "PyInstaller\loader\pyimod02_importers.py ", line 352, in exec_module File "esptool\bin_image.py ", line 14, in File "PyInstaller\loader\pyimod02_importers.py ", line 352, in exec_module File "esptool\loader.py ", line 30, in File "PyInstaller\loader\pyimod02_importers.py ", line 352, in exec_module File "serial__init.py ", line 29, in File "PyInstaller\loader\pyimod02_importers.py ", line 352, in exec_module File "serial\serialwin32.py ", line 15, in File "PyInstaller\loader\pyimod02_importers.py ", line 352, in exec_module File "ctypes\init__.py ", line 7, in ImportError: failed to load DLL when importing _ctypes: ???????? ????? ???????. [5088] The 'esptool' script could not be executed due to an unhandled exception! Pyserial is not set for C:\Users\Serj\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\4 .5.1\esptool.exe . For installation instructions, see the README. exit status 1

What is my mistake ??

Everything used to work for me. Maybe some program that I installed brought down something in the system files. On another computer, everything compiles and works fine.

s60sc commented 10 months ago

Best asked on an esp forum