Skip to content

Commit

Permalink
Updated python to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Paszymaja authored Oct 7, 2020
1 parent 21b55e8 commit 036e29c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Install_python.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This is the link to download current version of python from Python.org
# See https://www.python.org/downloads/
$pythonUrl = "https://www.python.org/ftp/python/3.8.3/python-3.8.3.exe"
$pythonUrl = "https://www.python.org/ftp/python/3.9.0/python-3.9.0.exe"

# This is the directory that the exe is downloaded to
$tempDirectory = "C:\temp_provision\"
Expand All @@ -10,7 +10,7 @@ $tempDirectory = "C:\temp_provision\"
$targetDir = "C:\Python"

# create the download directory and get the exe file
$pythonNameLoc = $tempDirectory + "python-3.8.3.exe"
$pythonNameLoc = $tempDirectory + "python-3.9.0.exe"
New-Item -ItemType directory -Path $tempDirectory -Force | Out-Null
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
(New-Object System.Net.WebClient).DownloadFile($pythonUrl, $pythonNameLoc)
Expand Down Expand Up @@ -142,4 +142,4 @@ Add-EnvExtension '.PYW'
Add-EnvPath 'C:\Python\'

# Install a library using Pip
python -m pip install numpy
python -m pip install numpy

0 comments on commit 036e29c

Please sign in to comment.