File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,7 @@ def _create_batch_scripts_initial(self):
571
571
if %ERRORLEVEL% NEQ 0 set PATH=""" + path + r"""
572
572
573
573
rem force default pyqt5 kit for Spyder if PyQt5 module is there
574
- if exist "%WINPYDIR%\Lib\site-packages\PyQt5" set QT_API=pyqt5
574
+ if exist "%WINPYDIR%\Lib\site-packages\PyQt5\__init__.py " set QT_API=pyqt5
575
575
576
576
rem ******************
577
577
rem handle R if included
@@ -652,7 +652,7 @@ def _create_batch_scripts_initial(self):
652
652
$env:PATH = """ + '"' + pathps + '"' + r""" }
653
653
654
654
#rem force default pyqt5 kit for Spyder if PyQt5 module is there
655
- if (Test-Path "$env:WINPYDIR\Lib\site-packages\PyQt5") { $env:QT_API = "pyqt5" }
655
+ if (Test-Path "$env:WINPYDIR\Lib\site-packages\PyQt5\__init__.py ") { $env:QT_API = "pyqt5" }
656
656
657
657
658
658
You can’t perform that action at this time.
0 commit comments