VS Code Extension. ModuleNotFoundError: No module named 'future'
Posted: Sat Jan 23, 2021 2:04 am
Hello guys,
I'm using the extension for vsCode, but apparently, I get an error that I can't solve.
OS: Windows 10
Python: v3.7.3
IDF: v4.2
espressif.esp-idf-extension: v0.6.1
vsCode: v1.52.1
When I press the compile button I get the following error:
======================================= ERROR ==============================================
ESP-IDF Custom Terminal
$ cmake
-- ccache will be used for faster recompilation
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
Traceback (most recent call last):
File "C:/esp/esp-idf/tools/kconfig_new/confgen.py", line 31, in <module>
from future.utils import iteritems
ModuleNotFoundError: No module named 'future'
CMake Error at C:/esp/esp-idf/tools/cmake/kconfig.cmake:225 (message):
Failed to run confgen.py
(C:\esp\tools\.espressifvs\python_env\idf4.2_py3.7_env\Scripts\python.exe;C:/esp/esp-idf/tools/kconfig_new/confgen.py;--kconfig;C:/esp/esp-idf/Kconfig;--sdkconfig-rename;C:/esp/esp-idf/sdkconfig.rename;--config;C:/Users/aquil/Desktop/ESP32/Ejercicios/01_FirstLook/sdkconfig;--env-file;C:/Users/aquil/Desktop/ESP32/Ejercicios/01_FirstLook/build/config.env).
Error 1
Call Stack (most recent call first):
C:/esp/esp-idf/tools/cmake/build.cmake:442 (__kconfig_generate_config)
C:/esp/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/aquil/Desktop/ESP32/Ejercicios/01_FirstLook/build/CMakeFiles/CMakeOutput.log".
The terminal process terminated with exit code: 1.
===============================================================================================
For the installation, I used the "advanced" method since I already had esp-idf and tools installed using "esp-idf-tools-setup-2.3.exe"
Could you help me please?
I'm using the extension for vsCode, but apparently, I get an error that I can't solve.
OS: Windows 10
Python: v3.7.3
IDF: v4.2
espressif.esp-idf-extension: v0.6.1
vsCode: v1.52.1
When I press the compile button I get the following error:
======================================= ERROR ==============================================
ESP-IDF Custom Terminal
$ cmake
-- ccache will be used for faster recompilation
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
Traceback (most recent call last):
File "C:/esp/esp-idf/tools/kconfig_new/confgen.py", line 31, in <module>
from future.utils import iteritems
ModuleNotFoundError: No module named 'future'
CMake Error at C:/esp/esp-idf/tools/cmake/kconfig.cmake:225 (message):
Failed to run confgen.py
(C:\esp\tools\.espressifvs\python_env\idf4.2_py3.7_env\Scripts\python.exe;C:/esp/esp-idf/tools/kconfig_new/confgen.py;--kconfig;C:/esp/esp-idf/Kconfig;--sdkconfig-rename;C:/esp/esp-idf/sdkconfig.rename;--config;C:/Users/aquil/Desktop/ESP32/Ejercicios/01_FirstLook/sdkconfig;--env-file;C:/Users/aquil/Desktop/ESP32/Ejercicios/01_FirstLook/build/config.env).
Error 1
Call Stack (most recent call first):
C:/esp/esp-idf/tools/cmake/build.cmake:442 (__kconfig_generate_config)
C:/esp/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
CMakeLists.txt:8 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/aquil/Desktop/ESP32/Ejercicios/01_FirstLook/build/CMakeFiles/CMakeOutput.log".
The terminal process terminated with exit code: 1.
===============================================================================================
For the installation, I used the "advanced" method since I already had esp-idf and tools installed using "esp-idf-tools-setup-2.3.exe"
Could you help me please?