I have installed espidf in VSCode but when I click build it gave me error, here is clipboard from ESPIDF Doctor
```
---------------------------------------------- ESP-IDF Extension for Visual Studio Code report ---------------------------------------------
OS win32 x64 10.0.22000
System environment variable IDF_PYTHON_ENV_PATH
undefined
System environment variable PATH
C:\Program Files (x86)\Borland\Delphi7\Bin;C:\Program Files (x86)\Borland\Delphi7\Projects\Bpl\;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\MinGW\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\flutter\bin;C:\Users\User\AppData\Local\Android\Sdk\platform-tools;C:\Program Files\PuTTY\;C:\Users\User\esp\esp-idf\tools;C:\Users\User\.cargo\bin;C:\Users\User\AppData\Local\Programs\Python\Python39\;C:\Users\User\AppData\Local\Programs\Python\Python39\Scripts\;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\User\AppData\Roaming\npm;C:\Program Files\IPFS Desktop\resources\app.asar.unpacked\src\ipfs-on-path\scripts\bin-win;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\AppData\Local\Pub\Cache\bin;
System environment variable PYTHON
undefined
Visual Studio Code version 1.69.2
Visual Studio Code language en
Visual Studio Code shell C:\WINDOWS\System32\cmd.exe
ESP-IDF Extension version 1.4.0
---------------------------------------------------- Extension configuration settings ------------------------------------------------------
ESP-ADF Path (idf.espAdfPath) ${env:ADF_PATH}
ESP-IDF Path (idf.espIdfPath) ${env:IDF_PATH}
ESP-MDF Path (idf.espMdfPath) ${env:MDF_PATH}
Custom extra paths (idf.customExtraPaths)
Custom extra vars (idf.customExtraVars)
Virtual env Python Path (idf.pythonBinPath) python
Serial port (idf.port) COM1
OpenOCD Configs (idf.openOcdConfigs) interface/ftdi/esp32_devkitj_v1.cfg,board/esp32-wrover.cfg
ESP-IDF Tools Path (idf.toolsPath) ${env:IDF_TOOLS_PATH}
Git Path (idf.gitPath) C:\Users\User\.espressif\tools\idf-git\2.30.1\cmd\git.exe
-------------------------------------------------------- Configurations access -------------------------------------------------------------
Access to ESP-ADF Path (idf.espAdfPath) false
Access to ESP-IDF Path (idf.espIdfPath) false
Access to ESP-MDF Path (idf.espMdfPath) false
Access to ESP-IDF Custom extra paths
Access to Virtual env Python Path (idf.pythonBinPath) false
Access to CMake in environment PATH undefined
Access to Ninja in environment PATH undefined
Access to ESP-IDF Tools Path (idf.toolsPath) false
----------------------------------------------------------- Executables Versions -----------------------------------------------------------
Git version 2.30.1.windows.1
ESP-IDF version x.x
Python version 3.9.5
Python's pip version 22.1.2
-------------------------------------------------- Python packages in idf.pythonBinPath ----------------------------------------------------
absl-py version: 1.0.0
altgraph version: 0.17.2
appdirs version: 1.4.4
attrs version: 21.4.0
autopep8 version: 1.6.0
basest version: 0.7.3
bcrypt version: 3.2.0
beautifulsoup4 version: 4.10.0
bitstring version: 3.1.9
black version: 22.3.0
certifi version: 2021.10.8
cffi version: 1.15.0
charset-normalizer version: 2.0.7
click version: 8.1.3
colorama version: 0.4.4
comtypes version: 1.1.11
cryptography version: 35.0.0
cv version: 1.0.0
cycler version: 0.11.0
Cython version: 0.29.30
distlib version: 0.3.5
dnslib version: 0.9.19
dnspython version: 2.2.0
docopt version: 0.6.2
dxcam version: 0.0.4
ecdsa version: 0.18.0b2
esptool version: 4.0.dev0
filelock version: 3.7.1
Flask version: 2.1.2
fonttools version: 4.30.0
future version: 0.18.2
idna version: 3.3
ImageHash version: 4.2.0
importlib-metadata version: 4.11.3
itsdangerous version: 2.1.2
Jinja2 version: 3.0.3
Js2Py version: 0.71
kbbi version: 0.4.3
keyboard version: 0.13.5
kiwisolver version: 1.4.0
lxml version: 4.6.4
MarkupSafe version: 2.0.1
matplotlib version: 3.5.1
mediapipe version: 0.8.9.1
mouse version: 0.7.1
MouseInfo version: 0.1.3
mss version: 6.1.0
mypy-extensions version: 0.4.3
numpy version: 1.20.3
opencv-contrib-python version: 4.5.5.64
opencv-python version: 4.5.5.64
packaging version: 21.3
pandas version: 1.3.4
paramiko version: 2.8.0
pathspec version: 0.9.0
pefile version: 2021.9.3
Pillow version: 9.1.1
pip version: 22.1.2
pipdeptree version: 2.2.0
pipreqs version: 0.4.11
pipwin version: 0.5.2
platformdirs version: 2.5.2
protobuf version: 3.20.0
pyarmor version: 7.4.3
PyAudio version: 0.2.11
PyAutoGUI version: 0.9.52
pycodestyle version: 2.8.0
pycparser version: 2.20
pycryptodome version: 3.10.1
pygame version: 2.0.1
PyGetWindow version: 0.0.9
pyinstaller-hooks-contrib version: 2021.4
pyjsparser version: 2.7.1
PyMsgBox version: 1.0.9
PyNaCl version: 1.4.0
pynput version: 1.7.3
pyparsing version: 3.0.7
pyperclip version: 1.8.2
PyPrind version: 2.11.3
PyRect version: 0.1.4
PyScreeze version: 0.1.27
pyserial version: 3.5
pySmartDL version: 1.3.4
python-barcode version: 0.13.1
python-dateutil version: 2.8.2
python-dotenv version: 0.19.2
python-obfuscator version: 0.0.2
pytrends version: 4.7.3
PyTweening version: 1.0.3
pytz version: 2021.3
pytz-deprecation-shim version: 0.1.0.post0
PyWavelets version: 1.1.1
pywin32 version: 304
pywin32-ctypes version: 0.2.0
qrcode version: 7.3
reedsolo version: 1.5.4
regex version: 2022.4.24
requests version: 2.26.0
scipy version: 1.6.3
screeninfo version: 0.8
selenium version: 3.141.0
setuptools version: 60.9.3
six version: 1.16.0
soupsieve version: 2.2.1
SpeechRecognition version: 3.8.1
toml version: 0.10.2
tomli version: 2.0.1
treelib version: 1.6.1
typing_extensions version: 4.2.0
tzdata version: 2022.1
tzlocal version: 4.1
urllib3 version: 1.26.4
virtualenv version: 20.15.1
Werkzeug version: 2.1.2
yarg version: 0.1.9
zipp version: 3.8.0
---------------------------------------------------- Check ESP-IDF python requirements.txt -------------------------------------------------
Check ESP-IDF Python packages Error
---------------------------------------------------- Check extension requirements.txt ------------------------------------------------------
Check Extension Python packages Error
---------------------------------------------------- Check ESP-IDF debug adapter requirements.txt ------------------------------------------
Check Debug AdapterPython packages Error
---------------------------------------------------- Visual Studio Code launch.json --------------------------------------------------------
{
"version": "0.2.0",
"configurations": [
{
"type": "espidf",
"name": "Launch",
"request": "launch"
}
]
}
---------------------------------------------------- Visual Studio Code c_cpp_properties.json ----------------------------------------------
{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${config:idf.espIdfPath}/components/**",
"${config:idf.espIdfPathWin}/components/**",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false
}
}
],
"version": 4
}
----------------------------------------------------------- Latest error -----------------------------------------------------------------
Latest error at Command failed: python ${env:IDF_PATH}\tools\check_python_dependencies.py -r "c:\Users\User\.vscode\extensions\espressif.esp-idf-extension-1.4.0\esp_debug_adapter\requirements.txt"
python: can't open file 'c:\Users\User\.vscode\extensions\espressif.esp-idf-extension-1.4.0\${env:IDF_PATH}\tools\check_python_dependencies.py': [Errno 22] Invalid argument
--------------------------------------------------------------------------------------------------------------------------------------------
```
Something went wrong while trying to build the project
-
- Posts: 1
- Joined: Mon Jul 25, 2022 9:31 am
Who is online
Users browsing this forum: Bing [Bot] and 105 guests