I'm trying to flash an ESP32-CAM. At first I have tried with the ESP.Easy.Flasher.exe but it didn't work. So I installed VS Code and Platformio.
I opened the source in the download zip as the project folder, then opened ESPEasy.ino in the src folder and hit build. A huge error message came up.
After that I downloaded the esp8266 release, the same message.
Installed atom and platformio, again the same result.
I have python 3.9.1 installed. Ardunio ide is installed with both esp8266 and esp32 added to board manager. Operating system is windows 10.
I'm totally lost here. Any clue?
Code: Select all
Processing custom_ESP8266_4M1M (platform: espressif8266@2.6.2; board: esp12e; framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Tool Manager: Installing git+https://github.com/esp8266/Arduino.git#2.7.4
Error: Traceback (most recent call last):
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\__main__.py", line 109, in main
cli() # pylint: disable=no-value-for-parameter
File "c:\users\laurn\.platformio\penv\lib\site-packages\click\core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "c:\users\laurn\.platformio\penv\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\commands\__init__.py", line 44, in invoke
return super(PlatformioCLI, self).invoke(ctx)
File "c:\users\laurn\.platformio\penv\lib\site-packages\click\core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\users\laurn\.platformio\penv\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\users\laurn\.platformio\penv\lib\site-packages\click\core.py", line 610, in invoke
return callback(*args, **kwargs)
File "c:\users\laurn\.platformio\penv\lib\site-packages\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\commands\run\command.py", line 143, in cli
is_test_running,
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\commands\run\command.py", line 175, in process_env
result = {"env": name, "duration": time(), "succeeded": ep.process()}
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\commands\run\processor.py", line 79, in process
result = p.run(build_vars, build_targets, self.silent, self.verbose, self.jobs)
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\platform\_run.py", line 60, in run
self.autoinstall_runtime_packages()
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\platform\_packages.py", line 74, in autoinstall_runtime_packages
self.pm.install(self.get_package_spec(name))
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 49, in install
spec, silent=silent, skip_dependencies=skip_dependencies, force=force
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 97, in _install
pkg = self.install_from_url(spec.url, spec, silent=silent)
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\package\manager\_install.py", line 141, in install_from_url
vcs = VCSClientFactory.new(tmp_dir, url)
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 55, in new
src_dir, remote_url, tag, silent
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 137, in __init__
self.configure()
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\package\vcsclient.py", line 146, in configure
result = proc.exec_command([cls.command, "--exec-path"])
File "c:\users\laurn\.platformio\penv\lib\site-packages\platformio\proc.py", line 117, in exec_command
p = subprocess.Popen(*args, **kwargs)
File "C:\Users\laurn\.platformio\python3\lib\subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "C:\Users\laurn\.platformio\python3\lib\subprocess.py", line 1207, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
============================================================
An unexpected error occurred. Further steps:
* Verify that you have the latest version of PlatformIO using
`pip install -U platformio` command
* Try to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq.html
* Report this problem to the developers
https://github.com/platformio/platformio-core/issues
============================================================