Upgrade pip on first start
This commit is contained in:
parent
ccc6ad7044
commit
8481b930b4
2 changed files with 3 additions and 1 deletions
|
|
@ -163,6 +163,8 @@ echo Checking if requirements are satisfied...
|
|||
:: Try importing key packages to see if they're installed
|
||||
python -c "import PyQt5; import openai; import dotenv; import PIL; print('All dependencies satisfied')" >nul 2>&1
|
||||
if errorlevel 1 (
|
||||
echo Upgrading pip...
|
||||
python -m pip install --upgrade pip >nul 2>&1
|
||||
echo Installing/updating requirements...
|
||||
pip install -r requirements.txt
|
||||
if errorlevel 1 (
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ retry==0.9.2
|
|||
ruamel.yaml==0.17.32
|
||||
tiktoken==0.8.0
|
||||
tqdm==4.65.0
|
||||
pillow==11.0.0
|
||||
pillow>=12.1.0
|
||||
PyQt5>=5.15.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue