Error during VS Code Wizard: legacy-install-failure (M1 Mac)
Posted: Wed Dec 21, 2022 1:14 am
Can anyone help me get past this?
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:
then further down
in the end it says
Here is the full output: https://pastebin.com/xxqKwcDB
Any help would be much appreciated!
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!