mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/idf_tools_pylauncher' into 'master'
idf_tools.py: fix typo in __PYVENV_LAUNCHER__ env variable name See merge request espressif/esp-idf!7421
This commit is contained in:
commit
3c44ab4192
@ -1356,7 +1356,7 @@ def main(argv):
|
||||
# On macOS, unset __PYVENV_LAUNCHER__ variable if it is set.
|
||||
# Otherwise sys.executable keeps pointing to the system Python, even when a python binary from a virtualenv is invoked.
|
||||
# See https://bugs.python.org/issue22490#msg283859.
|
||||
os.environ.pop('__PYVENV_LAUNCER__', None)
|
||||
os.environ.pop('__PYVENV_LAUNCHER__', None)
|
||||
|
||||
if sys.version_info.major == 2:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user