We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee1dd5a commit bd7dd2cCopy full SHA for bd7dd2c
builder/frameworks/espidf.py
@@ -26,7 +26,6 @@
26
import sys
27
import shutil
28
import os
29
-import pkg_resources
30
import platform as sys_platform
31
32
import click
@@ -1157,9 +1156,7 @@ def _get_installed_pip_packages(python_exe_path):
1157
1156
1158
# A special "esp-windows-curses" python package is required on Windows
1159
# for Menuconfig on IDF <5
1160
- if not IDF5 and "esp-windows-curses" not in {
1161
- pkg.key for pkg in pkg_resources.working_set
1162
- }:
+ if not IDF5 and "esp-windows-curses" not in installed_packages:
1163
env.Execute(
1164
env.VerboseAction(
1165
'"%s" -m pip install "file://%s/tools/kconfig_new/esp-windows-curses"'
0 commit comments