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

Python 3.x

3.6.0

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 12/23/2016.

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

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

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

C:\> choco upgrade python3

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.0/python-3.6.0.exe'
      url64Bit       = 'https://www.python.org/ftp/python/3.6.0/python-3.6.0-amd64.exe'
      checksum       = '8e766027f346741502f49a9839b9fe4a2a3674258da8f9822c892537743532eb'
      checksum64     = 'f35d6fba8c62fc7a03ceae8b1b6edc77249bce8d30d0a16d140afb2ee8f44194'
      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.5.2.20161029 10971 Saturday, October 29, 2016 approved
Python 3.x 3.5.2 3069 Tuesday, October 4, 2016 approved
Python 3.x 3.5.1.20161002 7823 Sunday, October 2, 2016 approved
Python 3.x 3.5.1 30675 Monday, December 7, 2015 approved
Python 3.x 3.5.0.20151010 5494 Saturday, October 10, 2015 approved
Python 3.x 3.5.0 168 Saturday, October 10, 2015 approved
Python 3.x 3.4.3.20150501 5085 Friday, May 1, 2015 approved
Python 3.x 3.4.3 693 Wednesday, February 25, 2015 approved
Python 3.x 3.4.2 1629 Wednesday, October 8, 2014 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