@echo off | |
echo FramePack-Studio Setup Script | |
REM Check if Python is installed (basic check) | |
where python >nul 2>&1 | |
if %errorlevel% neq 0 ( | |
echo Error: Python is not installed or not in your PATH. Please install Python and try again. | |
goto end | |
) | |
echo Installing dependencies using pip... | |
REM This assumes there's a requirements.txt file in the root | |
pip install -r requirements.txt | |
REM Check if pip installation was successful | |
if %errorlevel% neq 0 ( | |
echo Warning: Failed to install dependencies. You may need to install them manually. | |
goto end | |
) | |
echo Setup complete. | |
:end | |
echo Exiting setup script. | |
pause | |