Hello,
I'm giving a try with esp-adf.
As I was not able to compile an example, I decided, based on the compliance matrix with adf, to switch back to idf 4.4
in order to rely on releases and not on master branch.
I'm using vscode with W10.
I installed idf 4.4 and esp-idf tools with the esp-idf setup feature.
When I compile a basic project, I get "moduleNotFoundError : no module named "kconfiglib"
I went in my idf python dir and run "python -m pip install kconfiglib".
Installation is ok.
Then I compile again. It goes one step further and I get "moduleNotFoundError : no module named "future"
I went in my idf python dir and run "python -m pip install future".
This installation failed with this errror : "ModuleNotFoundError: No module named '_socket'" I tried the same trick
but this time "_socket" I'm unable to install : "ERROR: Invalid requirement: '_socket'"
What should I do? Maybe I had to provide minimum or maximum version to "pip install" but I don't have this information.
Thanks
Julien
Module not found while compiling a fresh install
-
- Posts: 1708
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Module not found while compiling a fresh install
Try building from the IDF command line, i.e. open a command line (e.g. run cmd.exe), on the command line run <your IDF folder>\idf_cmd_init.bat, and then, inside your project directory, run idf.py build. Does the build succeed this way?
To build from inside VS Code install the ESP-IDF extension and set it up to use your IDF installation.
To build from inside VS Code install the ESP-IDF extension and set it up to use your IDF installation.
Who is online
Users browsing this forum: Bing [Bot] and 107 guests