Online setup: one-script installer for Windows PCs with internet access
This commit is contained in:
1 parent
a34d7c8478
commit
2bb2dc82a1
4 files changed
+165
-6
No files matched your search
+10
-6
@@ -1,10 +1,14 @@
|
||||
@echo off
|
||||
REM One-time install: Python (current user) + offline deps (wheelhouse)
|
||||
REM One-time install: Python (current user) + deps (wheelhouse or PyPI).
|
||||
cd /d %~dp0
|
||||
echo [1/3] Python setup (quiet, current user), takes ~1 min...
|
||||
echo [1/2] Python setup (quiet, current user), takes ~1 min...
|
||||
python-3.12.10-amd64.exe /quiet InstallAllUsers=0 PrependPath=1 Include_launcher=0 Include_test=0
|
||||
echo [2/3] Python deps from offline wheelhouse...
|
||||
echo [2/2] Python dependencies...
|
||||
"%LocalAppData%\Programs\Python\Python312\python.exe" -m venv venv
|
||||
venv\Scripts\python.exe -m pip install --no-index --find-links wheelhouse -r requirements.txt
|
||||
echo [3/3] Done. Next: install_ollama_model.bat (after OllamaSetup.exe), then start_all.bat
|
||||
pause
|
||||
if exist wheelhouse (
|
||||
venv\Scripts\python.exe -m pip install --no-index --find-links wheelhouse -r requirements.txt
|
||||
) else (
|
||||
venv\Scripts\python.exe -m pip install -r requirements.txt
|
||||
)
|
||||
echo Done.
|
||||
exit /b 0
|
||||
Reference in new issue
Block a user