Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49e89d6

Browse files
authored
Merge pull request #1 from NCNecros/NCNecros-patch-1
fix problem with another find.exe
2 parents 6716b37 + 7a7f4e0 commit 49e89d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

make.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,9 @@ def _create_batch_scripts_initial(self):
552552
set JUPYTER_DATA_DIR=%HOME%
553553
set WINPYARCH=WIN32
554554
if "%WINPYDIR:~-5%"=="amd64" set WINPYARCH=WIN-AMD64
555-
echo ;%PATH%; | find /C /I ";%WINPYDIR%\;" >nul
555+
if "%WINPYARCH%"=="WIN32" set FINDDIR=%WINDIR%\system32
556+
if not "%WINPYARCH%"=="WIN32" set FINDDIR=%WINDIR%\syswow64
557+
echo ;%PATH%; | %FINDDIR%\find.exe /C /I ";%WINPYDIR%\;" >nul
556558
if %ERRORLEVEL% NEQ 0 set PATH=""" + path + r"""
557559
558560
rem force default pyqt5 kit for Spyder if PyQt5 module is there

0 commit comments

Comments
 (0)