File size: 1,012 Bytes
ab0dd0b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | @echo off
echo WARNING. For this auto installer to work you need to have installed Python 3.10.x, Git, CUDA 12.4, cudNN 8.9, FFmpeg and C++ tools
echo Follow this tutorial step by step to install above requirements : https://youtu.be/DrhUHnYfwC0
pip install requests
git clone https://bitbucket.org/secourses/rop-unleash
cd rop-unleash
git pull
REM Create virtual environment folder
echo composing venv
py --version >nul 2>&1
if "%ERRORLEVEL%" == "0" (
echo Python launcher is available. Generating Python 3.10 VENV
py -3.10 -m venv venv
) else (
echo Python launcher is not available, generating VENV with default Python. Make sure that it is 3.10
python -m venv venv
)
call .\venv\Scripts\activate.bat
python.exe -m pip install --upgrade pip
cd ..
echo installing requirements
REM Install packages from requirements.txt
pip install -r requirements.txt
REM Show completion message
echo Virtual environment made and installed properly
REM Pause to keep the command prompt open
pause |