I am getting errors when I try to install the ESP32 toolchain in FC10.
I purchased the ESP32 license and downloaded esp-idf-tools-setup-2.3.exe from the Flowcode site.
I already had Python and Git installed without error.
However, it fails on the installation of the Esp IDF with the message "Installation has failed with exit code 1"
I have done a bunch of searching and I have turned off my virus and firewall protection, did a registry clean, etc.
I was able to finish the ESP installation v5.1.1 using the offline installation package from Espressif, but Flowcode would not recognize the installation, so I went back and tried it with the esp-idf-tools-setup-2.3.exe and keep getting the "exit code 1"
I attached my log file from the most recent failed installation attempt.
ESP Toolchain won't install
-
- Posts: 35
- http://meble-kuchenne.info.pl
- Joined: Sat Jul 08, 2023 7:39 pm
- Has thanked: 3 times
- Been thanked: 4 times
ESP Toolchain won't install
- Attachments
-
- Setup Log 2023-11-19 #005.txt
- (35.47 KiB) Downloaded 286 times
-
- Matrix Staff
- Posts: 1411
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 190 times
- Been thanked: 329 times
Re: ESP Toolchain won't install
The ESP toolchain can be challenging to set up and you will find numerous posts on this forum with experiences similar to yours (for example, here).
We have created some instructions in the Flowcode Wiki which do seem to work, but it is important that each step is followed exactly.
We have created some instructions in the Flowcode Wiki which do seem to work, but it is important that each step is followed exactly.
-
- Matrix Staff
- Posts: 1657
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 580 times
- Been thanked: 554 times
Re: ESP Toolchain won't install
Hello.
I looked at the set up log, and the issue could be down to the Python version already installed.
Is there a reason you can't uninstall the current python and then go by the instructions on the Wiki?
Once installed, then look back into updating python again?
I looked at the set up log, and the issue could be down to the Python version already installed.
Is there a reason you can't uninstall the current python and then go by the instructions on the Wiki?
Once installed, then look back into updating python again?
Martin
-
- Posts: 35
- Joined: Sat Jul 08, 2023 7:39 pm
- Has thanked: 3 times
- Been thanked: 4 times
Re: ESP Toolchain won't install
Yes, the Python version was it. When I checked "install Python 3.7" the installation completed without errors.
Thanks for your fast response and helping me figure this out.
Thanks for your fast response and helping me figure this out.
Re: ESP Toolchain won't install
I broke my FC programming updating python and git for other things on my machine. I was able to get it running by launching the install.bat in the espidf folder. I am now programming with python 3.10.6 and the latest git. (?)
-
- Posts: 35
- Joined: Sat Jul 08, 2023 7:39 pm
- Has thanked: 3 times
- Been thanked: 4 times
Re: ESP Toolchain won't install
I have the toolchain installed. Can anyone help me with this compiler error?
ERROR: C:\Users\user\.espressif\python_env\idf5.1_py3.7_env\Scripts\python.exe doesn't support asyncio.
See attached file.
ERROR: C:\Users\user\.espressif\python_env\idf5.1_py3.7_env\Scripts\python.exe doesn't support asyncio.
See attached file.
- Attachments
-
- 231124_compiler_error.txt
- (3.91 KiB) Downloaded 236 times
-
- Valued Contributor
- Posts: 1367
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 330 times
- Been thanked: 475 times
-
- Posts: 35
- Joined: Sat Jul 08, 2023 7:39 pm
- Has thanked: 3 times
- Been thanked: 4 times