- Message: Command 'com.espressif.idf.ui.command.install' failed
- Stack Trace:
- org.eclipse.core.commands.ExecutionException: No Python installations found in the system.
- at com.espressif.idf.ui.update.AbstractToolsHandler.execute(AbstractToolsHandler.java:71)
- at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
- at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:95)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
- at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:318)
- at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:252)
- at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
- at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
- at org.eclipse.core.commands.Command.executeWithChecks(Command.java:498)
- at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
- at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
- at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
- at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
- at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
- at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
- at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4173)
- at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
- at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3986)
- at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3585)
- at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
- at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
- at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
- at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
- at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:633)
- at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
- at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
- at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
- at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
- at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
- at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
- at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
- at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
- at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.base/java.lang.reflect.Method.invoke(Method.java:566)
- at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
- at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
- at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
Thankyou for you reply and please, do not worry, you guys are doing a fantastic job, I understand that there are so many scenarios that it is almost to cover all of them, so I just want to help you to get it even better.
regarding the logs those ones are the errors when I tried to run "Install Tools":
Note that I do have a ESP-IDF and chain tools working fine from command prompt, I'm able to run idf.py menuconfig, and I can compile and flash from command prompt and eclipse.
I'm also attaching the export of python register for your reference. As you can see bellow, this is the log from ESP-IDF Command Prompt:
- Clearing PYTHONPATH, was set to d:\Python37
- Using Python in D:\Python37\
- Python 3.7.4
- Using Git in C:\Program Files\Git\cmd\
- git version 2.21.0.windows.1
- Setting IDF_PATH: D:\ESP-IDF\4.0
- Adding ESP-IDF tools to PATH...
- D:\ESP-IDF\.espressif\tools\xtensa-esp32-elf\esp32-2019r1-8.2.0\xtensa-esp32-elf\bin
- D:\ESP-IDF\.espressif\tools\esp32ulp-elf\2.28.51.20170517\esp32ulp-elf-binutils\bin
- D:\ESP-IDF\.espressif\tools\cmake\3.13.4\bin
- D:\ESP-IDF\.espressif\tools\openocd-esp32\v0.10.0-esp32-20190708\openocd-esp32\bin
- D:\ESP-IDF\.espressif\tools\mconf\v4.6.0.0-idf-20190628\
- D:\ESP-IDF\.espressif\tools\ninja\1.9.0\
- D:\ESP-IDF\.espressif\tools\idf-exe\1.0.1\
- D:\ESP-IDF\.espressif\tools\ccache\3.7\
- D:\ESP-IDF\.espressif\python_env\idf4.1_py3.7_env\Scripts
- D:\ESP-IDF\4.0\tools
- Checking if Python packages are up to date...
- Python requirements from D:\ESP-IDF\4.0\requirements.txt are satisfied.
- Done! You can now compile ESP-IDF projects.
- Go to the project directory and run:
- idf.py build
- D:\ESP-IDF\4.0>