Fix not being able to have spaces directory

Adds quotes around the PYTHON path so that there can be spaces in parent folders.
This commit is contained in:
Christian 2022-09-08 00:31:25 +02:00 committed by GitHub
parent 296d012423
commit d03e9502b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ echo Unable to create venv in directory %VENV_DIR%
goto :show_stdout_stderr
:activate_venv
set PYTHON=%~dp0%VENV_DIR%\Scripts\Python.exe
set PYTHON="%~dp0%VENV_DIR%\Scripts\Python.exe"
%PYTHON% --version
echo venv %PYTHON%
goto :install_torch