vscode-esp-idf-extension: Not able to install IDF any veriosn Python dependency error (VSC-1187)

OS

Linux

Operating System version

POP os 22.04

Visual Studio Code version

1.6.4

ESP-IDF version

4.4.5

Python version

3.10.12

Doctor command output

/home/nikhi/esp/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources The following Python requirements are not satisfied: pyparsing>=2.0.3,<2.4.0 To install the missing packages, please run “/home/nikhi/esp/esp-idf/install.sh” Diagnostic information: IDF_PYTHON_ENV_PATH: /home/nikhi/.espressif/python_env/idf4.4_py3.10_env Python interpreter used: /home/nikhi/.espressif/python_env/idf4.4_py3.10_env/bin/python

ESP-IDF v4.4.5-dirty

Extension

esp_idf_vsc_ext.log

Description

I am not able to install any versions of IDF. after removing my previouly instlled idf version

Debug Message

Python requirements has been installed
The following Python requirements are not satisfied:
pyparsing>=2.0.3,<2.4.0
To install the missing packages, please run "/home/nikhi/esp/esp-idf/install.sh"
Diagnostic information:
    IDF_PYTHON_ENV_PATH: /home/nikhi/.espressif/python_env/idf4.4_py3.10_env
    Python interpreter used: /home/nikhi/.espressif/python_env/idf4.4_py3.10_env/bin/python
/home/nikhi/esp/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Command failed: "/home/nikhi/.espressif/python_env/idf4.4_py3.10_env/bin/python" "/home/nikhi/esp/esp-idf/tools/check_python_dependencies.py" -r "/home/nikhi/esp/esp-idf/requirements.txt"
/home/nikhi/esp/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
Command failed: "/home/nikhi/.espressif/python_env/idf4.4_py3.10_env/bin/python" "/home/nikhi/esp/esp-idf/tools/check_python_dependencies.py" -r "/home/nikhi/esp/esp-idf/requirements.txt"
/home/nikhi/esp/esp-idf/tools/check_python_dependencies.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

About this issue

  • Original URL
  • State: closed
  • Created 9 months ago
  • Comments: 15

Most upvoted comments

@AliMoal , please follow the steps that I’ve provided, should fix the issue until we release the fix.