Page 4 of 6

Re: ESP32 Compiling error

Posted: Mon Sep 20, 2021 8:01 pm
by medelec35
Could an antivirus or firewall be preventing the option?

Re: ESP32 Compiling error

Posted: Tue Sep 21, 2021 7:46 am
by stefan.erni
Hi Martin

I think it's something like this. So I found an info about an offline-installer.
I will try it next monday

regards

Stefan
ESP-IDF Tools Installer
What is the usecase for Online and Offline Installer
Online Installer is very small and allows the installation of all available releases of ESP-IDF. The installer will download only necessary dependencies including Git For Windows during the installation process. The installer stores downloaded files in the cache directory %userprofile%\.espressif
Offline Installer does not require any network connection. The installer contains all required dependencies including Git For Windows .
https://docs.espressif.com/projects/esp ... setup.html

Re: ESP32 Compiling error

Posted: Tue Oct 05, 2021 12:26 pm
by stefan.erni
Hi to All

I used the offline installer. While installing there was no error



C:\Users\stefan.erni\Desktop\esp-idf>python --version
Python 3.8.7

C:\Users\stefan.erni\Desktop\esp-idf>





but if I compile to chip:

Checking if Python packages are up to date...
The following Python requirements are not satisfied:
click>=7.0
pyserial>=3.0
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
gdbgui==0.13.2.0
pygdbmi<=0.9.0.2
python-socketio<5
kconfiglib==13.7.1
reedsolo>=1.5.3,<=1.5.4
bitstring>=3.1.6
ecdsa>=0.16.0
construct==2.10.54
esp-windows-curses; sys_platform == 'win32'
To install the missing packages, please run "C:\Users\stefan.erni\Desktop\esp-idf\install.bat"
Diagnostic information:
IDF_PYTHON_ENV_PATH: C:\Users\stefan.erni\.espressif\python_env\idf4.3_py3.7_env
Python interpreter used: C:\Users\stefan.erni\.espressif\python_env\idf4.3_py3.7_env\Scripts\python.exe
Traceback (most recent call last):
File "C:\Users\stefan.erni\Desktop\esp-idf\tools\idf.py", line 47, in <module>
from idf_py_actions.tools import executable_exists, idf_version, merge_action_lists, realpath # noqa: E402
File "C:\Users\stefan.erni\Desktop\esp-idf\tools\idf_py_actions\tools.py", line 7, in <module>
import click
ModuleNotFoundError: No module named 'click'

Build Failed

C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\ESP\Batch\esp32_build.bat reported error code 0x1

Autoclose turned off

Re: ESP32 Compiling error

Posted: Tue Oct 05, 2021 3:05 pm
by LeighM
Try this ...

Run a Command Prompt

cd to the esp-idf directory e.g...

Code: Select all

cd C:\Users\stefan.erni\Desktop\esp-idf
Then type/run

Code: Select all

install.bat esp32

Re: ESP32 Compiling error

Posted: Tue Oct 05, 2021 3:22 pm
by stefan.erni
Hi Leigh

I've already done that, but it didn't help

regards

Stefan

Re: ESP32 Compiling error

Posted: Tue Oct 05, 2021 3:33 pm
by LeighM
Hi Stefan,
Looks like a Python issue, in that the extra packages have not been installed, or inaccessible by the version ESP thinks it’s using.
Do you have more than one version installed?
Might be worth uninstalling all Python, then trying again.
Leigh

Re: ESP32 Compiling error

Posted: Thu Oct 07, 2021 8:20 am
by jollybv
hi guys

Just from my experience when I created the esp-idf folder it automatically creates another folder espressif and puts the file in that when I forced it to install in the esp-idf without the espressif folder everything worked.

Re: ESP32 Compiling error

Posted: Thu Oct 07, 2021 1:36 pm
by stefan.erni
Hi Jollybv, Hi Leigh


@Jollybv You mean for the second folder (.expressif) you choosed the same folder (on Desktop esp-if). I will try that.

@ Leigh Here is the version of Python and ESP-IF Tools on computer 1 (the one where works well) I will see what version are on the other computer and check if there are more than one version of Python.


regards

Stefan
Working_Computer_1_2021-10-07_14-20-11.png
Working_Computer_1_2021-10-07_14-20-11.png (13.49 KiB) Viewed 4448 times
Working_Computer_2_2021-10-07_14-14-40.png
Working_Computer_2_2021-10-07_14-14-40.png (16.93 KiB) Viewed 4448 times

Re: ESP32 Compiling error

Posted: Thu Oct 07, 2021 1:59 pm
by jollybv
Hi yes
you need to load it into just the ESP-IDF folder
esp-idf.png
esp-idf.png (182.17 KiB) Viewed 4447 times

Re: ESP32 Compiling error

Posted: Mon Oct 11, 2021 1:13 pm
by stefan.erni
Hi Leigh

There is the same Phyton but there is a Phython Launcher on the bad computer

regards

Stefan