File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 # Install Python dependencies for Windows
3737 cd python-runtime-windows
3838 ./python.exe get-pip.py
39- ./Scripts/pip.exe install -r ../requirements.txt
39+ # Wait a moment for pip to be properly installed
40+ sleep 2
41+ ./python.exe -m pip install -r ../requirements.txt
4042
4143 - name : Build Windows application
4244 run : npm run build:win
Original file line number Diff line number Diff line change @@ -37,13 +37,15 @@ jobs:
3737 chmod +x setup-binaries.sh
3838 if [ "${{ matrix.os }}" = "windows-latest" ]; then
3939 ./setup-binaries.sh windows
40+ # Install Python dependencies for Windows
4041 cd python-runtime-windows
4142 ./python.exe get-pip.py
42- ./Scripts/pip.exe install -r ../requirements.txt
43+ # Wait a moment for pip to be properly installed
44+ sleep 2
45+ ./python.exe -m pip install -r ../requirements.txt
4346 else
4447 ./setup-binaries.sh macos
4548 fi
46-
4749 - name : Build Windows application
4850 if : matrix.os == 'windows-latest'
4951 run : npm run build:win
Original file line number Diff line number Diff line change @@ -94,9 +94,10 @@ setup_windows() {
9494 echo " import site" >> python-runtime-windows/python._pth
9595
9696 print_success " Windows Python runtime downloaded"
97- print_warning " Note: You'll need to install pip and dependencies manually on Windows:"
98- print_warning " cd python-runtime-windows && python get-pip.py"
99- print_warning " Scripts/pip install -r ../requirements.txt"
97+ print_warning " Note: To install dependencies on Windows:"
98+ print_warning " cd python-runtime-windows"
99+ print_warning " python get-pip.py"
100+ print_warning " python -m pip install -r ../requirements.txt"
100101 else
101102 print_warning " Windows Python runtime already exists, skipping..."
102103 fi
You can’t perform that action at this time.
0 commit comments