From 1db7632041687a546ffbdc7ddfc75aaceb48bc09 Mon Sep 17 00:00:00 2001 From: Yukai Li Date: Fri, 12 Aug 2022 03:01:25 -0600 Subject: [PATCH] fbt: clear PYTHONPATH in env setup (#1585) --- scripts/toolchain/fbtenv.cmd | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/toolchain/fbtenv.cmd b/scripts/toolchain/fbtenv.cmd index 471ce835..aac2a330 100644 --- a/scripts/toolchain/fbtenv.cmd +++ b/scripts/toolchain/fbtenv.cmd @@ -31,6 +31,7 @@ if not "%REAL_TOOLCHAIN_VERSION%" == "%FLIPPER_TOOLCHAIN_VERSION%" ( set "HOME=%USERPROFILE%" set "PYTHONHOME=%FBT_TOOLCHAIN_ROOT%\python" +set "PYTHONPATH=" set "PATH=%FBT_TOOLCHAIN_ROOT%\python;%FBT_TOOLCHAIN_ROOT%\bin;%FBT_TOOLCHAIN_ROOT%\protoc\bin;%FBT_TOOLCHAIN_ROOT%\openocd\bin;%PATH%" set "PROMPT=(fbt) %PROMPT%"