win_installgpu_virtual_env.bat 300 B

12345678910111213
  1. @echo off
  2. cd /d %~dp0
  3. REM Check if the venv directory exists
  4. if not exist test_env\Scripts\python.exe (
  5. echo Creating VENV
  6. python -m venv test_env
  7. ) else (
  8. echo VENV already exists
  9. )
  10. echo Activating VENV
  11. start cmd /k "call test_env\Scripts\activate.bat && install_with_gpu_support.bat"