I'm trying to configure the ESP-IDF Extension for Visual Studio Code. All the prerequisites installed fine, the first part of the wizard installed fine, but during the last step (Python virtual env) it fails:
Code: Select all
Building wheel for lxml (setup.py): finished with status 'error'
Code: Select all
src/lxml/etree.c:96:10: fatal error: 'Python.h' file not found
#include "Python.h"
^~~~~~~~~~
1 error generated.
Compile failed: command '/usr/bin/clang' failed with exit code 1
Code: Select all
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lxml
Any help would be much appreciated!