mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
fix(tools): IDF_PATH_OLD not found in PowerShell
Closes https://github.com/espressif/esp-idf/issues/15396
This commit is contained in:
@ -43,7 +43,7 @@ if not os.path.exists(virtualenv_python):
|
|||||||
f'proceeding.'))
|
f'proceeding.'))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
run([virtualenv_python, os.path.join(idf_path, 'tools', 'export_utils', 'activate_venv.py')] + sys.argv[1:], check=True)
|
run([virtualenv_python, os.path.join(idf_path, 'tools', 'export_utils', 'activate_venv.py')] + sys.argv[1:], check=True, env=os.environ.copy())
|
||||||
except (OSError, SubprocessError):
|
except (OSError, SubprocessError):
|
||||||
die('\n'.join(['Activation script failed',
|
die('\n'.join(['Activation script failed',
|
||||||
'To view detailed debug information, set ESP_IDF_EXPORT_DEBUG=1 and run the export script again.']))
|
'To view detailed debug information, set ESP_IDF_EXPORT_DEBUG=1 and run the export script again.']))
|
||||||
|
Reference in New Issue
Block a user