Skip to content

Commit 1be88a2

Browse files
committed
pip3 fix
1 parent fc37cc3 commit 1be88a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mac/env-setup-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ setup_app_python() {
243243
detect_setup_python_env
244244

245245
# Install dependencies
246-
pip install --only-binary grpcio -r requirements.txt >> "$NOW_RUN_LOG_FILE" 2>&1
246+
pip3 install --only-binary grpcio -r requirements.txt >> "$NOW_RUN_LOG_FILE" 2>&1
247247
log_success "Dependencies installed"
248248

249249
local app_url=$BROWSERSTACK_APP

win/env-setup-run.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function Setup-Web-Python {
9898
$venvPy = Get-VenvPython -VenvDir $venv
9999

100100
Log-Line "ℹ️ Installing dependencies" $GLOBAL_LOG
101-
[void](Invoke-External -Exe $venvPy -Arguments @("-m","pip","install","-r","requirements.txt") -LogFile $LogFile -WorkingDirectory $TARGET)
101+
[void](Invoke-External -Exe $venvPy -Arguments @("-m","pip3","install","-r","requirements.txt") -LogFile $LogFile -WorkingDirectory $TARGET)
102102
Log-Line "✅ Dependencies installed" $GLOBAL_LOG
103103

104104
$env:PATH = (Join-Path $venv 'Scripts') + ";" + $env:PATH
@@ -314,7 +314,7 @@ function Setup-Mobile-Python {
314314
$venvPy = Get-VenvPython -VenvDir $venv
315315

316316
Log-Line "ℹ️ Installing dependencies" $GLOBAL_LOG
317-
[void](Invoke-External -Exe $venvPy -Arguments @("-m","pip","install","-r","requirements.txt") -LogFile $LogFile -WorkingDirectory $TARGET)
317+
[void](Invoke-External -Exe $venvPy -Arguments @("-m","pip3","install","-r","requirements.txt") -LogFile $LogFile -WorkingDirectory $TARGET)
318318
Log-Line "✅ Dependencies installed" $GLOBAL_LOG
319319

320320
$env:PATH = (Join-Path $venv 'Scripts') + ";" + $env:PATH

0 commit comments

Comments
 (0)