Skip to content

Commit

Permalink
Merge pull request #53 from thewtex/windows-install-python3
Browse files Browse the repository at this point in the history
windows/install-python: fix installation with pip on Python 3
  • Loading branch information
jcfr committed Jun 30, 2017
2 parents 9d75b41 + 7b4bd5f commit 98c79fb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions windows/install-python.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,10 @@ param (
[string]$package
)

$pip = Join-Path $pythonDir "Scripts\\pip.exe"

Write-Host "Installing $package using $pip"
$interpreter = Join-Path $pythonDir "python.exe"
Write-Host "Installing $package using pip with $interpreter"

Start-Process $pip -ArgumentList "install `"$package`"" -NoNewWindow -Wait
Start-Process $interpreter -ArgumentList "-m pip install `"$package`"" -NoNewWindow -Wait
}

$downloadDir = "C:/Downloads"
Expand Down

0 comments on commit 98c79fb

Please sign in to comment.