Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of Python 3.x available.

Python 3.x

3.6.2

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package skips automatic verification:

Needs to install some Windows updates if they are missing, however it doesn't know how to do that. The exit code is 23, which is a CRC error, so it is technically probably not even correct - https://msdn.microsoft.com/en-us/library/windows/desktop/ms681382(v=vs.85).aspx


This package was approved as a trusted package on 7/17/2017.

Python 3.x is a programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python 3.x and see almost immediate gains in productivity and lower maintenance costs.

Package Parameters

  • /InstallDir - Installation directory

These parameters can be passed to the installer with the user of --params.
For example: --params '"/InstallDir:C:\tools\python2"'

Notes

  • This package installs the latest stable version of Python 3.x. It will install to Python 3.x to C:\Python3x.
  • This package is not intended to use with Chocolatey’s -x86 parameter. If you want a 32-bit Python 3.x on 64-bit systems, install the {{PackageName}}-x86_32 package instead. You can also install both. In that case you must manually adapt your .exe shims so that it picks the desired version when you invoke python.exe.

To install Python 3.x, run the following command from the command line or from PowerShell:

C:\> choco install python3 --version 3.6.2

To upgrade Python 3.x, run the following command from the command line or from PowerShell:

C:\> choco upgrade python3 --version 3.6.2

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    # This file should be identical for all python3* packages
    # https://docs.python.org/3/using/windows.html#installing-without-ui
    
    $installDir  = '{0}\Python{1}' -f $Env:SystemDrive, ($Env:ChocolateyPackageVersion -replace '\.').Substring(0,2)
    if ($Env:ChocolateyPackageParameters -match '/InstallDir:\s*(.+)') {
        $installDir = $Matches[1]
        if ($installDir.StartsWith("'") -or $installDir.StartsWith('"')){  $installDir = $installDir -replace '^.|.$' }
        #$parent = Split-Path $installDir
        mkdir -force $installDir -ea 0 | out-null
    }
    
    $params = @{
      packageName    = 'python3'
      fileType       = 'EXE'
      silentArgs     = '/quiet InstallAllUsers=1 PrependPath=1 TargetDir="{0}"' -f $installDir
      url            = 'https://www.python.org/ftp/python/3.6.2/python-3.6.2.exe'
      url64Bit       = 'https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64.exe'
      checksum       = '13725db4df084dcc1600716cb8cd150300f4420aaf48a2f21ce14b7aad0a2c13'
      checksum64     = '0322992c443889dd7435b67a1d9519511f0ec06b5ebbc64c15223922ae966d2e'
      checksumType   = 'sha256'
      checksumType64 = 'sha256'
    }
    
    # If the package is only intended for the 32-bit version, only pass
    # the 32-bit version to the install package function.
    if ($packageName -match 32) { $params.Remove('url64Bit'); $params.Remove('checksum64') }
    
    Install-ChocolateyPackage @params
    Write-Host "Installed to '$installDir'"
    
    if (($Env:PYTHONHOME -ne $null) -and ($Env:PYTHONHOME -ne $InstallDir)) {
        Write-Warning "Environment variable PYTHONHOME points to different version: $Env:PYTHONHOME"
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Python Software Foundation

Tags

Version History

Version Downloads Last updated Status
Python 3.x 3.7.0-a2 109 Thursday, November 9, 2017 approved
Python 3.x 3.6.2 28824 Monday, July 17, 2017 approved
Python 3.x 3.6.1 30442 Wednesday, March 22, 2017 approved
Python 3.x 3.6.0 19355 Friday, December 23, 2016 approved
Python 3.x 3.5.4 30 Thursday, November 9, 2017 approved
Python 3.x 3.5.2.20161029 11855 Saturday, October 29, 2016 approved
Python 3.x 3.5.2 3558 Tuesday, October 4, 2016 approved
Python 3.x 3.5.1.20161002 13186 Sunday, October 2, 2016 approved
Python 3.x 3.5.1 31720 Monday, December 7, 2015 approved
Show More

Discussion for the Python 3.x Package

Ground rules:

  • This discussion is only about Python 3.x and the Python 3.x package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Python 3.x, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus