Module not found while compiling a fresh install
Posted: Wed Jul 12, 2023 5:38 pm
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
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