ESP32 Compiling error
-
- Matrix Staff
- Posts: 1464
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 514 times
- Been thanked: 474 times
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32 Compiling error
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
I think it's something like this. So I found an info about an offline-installer.
I will try it next monday
regards
Stefan
https://docs.espressif.com/projects/esp ... setup.htmlESP-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 .
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32 Compiling error
Hi to All
I used the offline installer. While installing there was no error
but if I compile to chip:
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
-
- Valued Contributor
- Posts: 401
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 73 times
- Been thanked: 218 times
Re: ESP32 Compiling error
Try this ...
Run a Command Prompt
cd to the esp-idf directory e.g...
Then type/run
Run a Command Prompt
cd to the esp-idf directory e.g...
Code: Select all
cd C:\Users\stefan.erni\Desktop\esp-idf
Code: Select all
install.bat esp32
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
-
- Valued Contributor
- Posts: 401
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 73 times
- Been thanked: 218 times
Re: ESP32 Compiling error
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
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
-
- Posts: 125
- Joined: Mon Mar 08, 2021 11:25 am
- Location: Cape Town South Africa
- Has thanked: 40 times
- Been thanked: 11 times
Re: ESP32 Compiling error
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.
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.
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32 Compiling error
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
@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
-
- Valued Contributor
- Posts: 760
- Joined: Wed Dec 02, 2020 10:53 am
- Has thanked: 150 times
- Been thanked: 171 times
Re: ESP32 Compiling error
Hi Leigh
There is the same Phyton but there is a Phython Launcher on the bad computer
regards
Stefan
There is the same Phyton but there is a Phython Launcher on the bad computer
regards
Stefan
- Attachments
-
- ESP_IF.JPG (11 KiB) Viewed 4558 times
-
- Bad_Computer.JPG (15 KiB) Viewed 4558 times