Chocolatey Community Coffee Break

Join the Chocolatey Team on our regular monthly stream where we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Announcing Chocolatey Central Management 0.10.0

Livestream from
Thursday, 06 October 2022

We recently released our largest update to Chocolatey Central Management so far. Join Gary and Steph to find out more about Chocolatey Central Management and the new features and fixes we've added to this release.

Watch On-Demand
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand
Chocolatey Product Spotlight: Chocolatey 1.2.0 and Chocolatey Licensed Extension 5.0.0

Livestream from
Thursday, 03 November 2022

Join Paul and Gary for this months Chocolatey product livestream where we look at the latest release of Chocolatey 1.2.0, Chocolatey Licensed Extension 5.0.0 and shine a spotlight on the new hook scripts functionality. This opens up so many possibilities for Chocolatey CLI users!

Watch On-Demand
Chocolatey Coding Livestream

Livestream from
Tuesday, 29 November 2022

Join Josh as he adds the ability to manage Chocolatey GUI config and features with the Chocolatey Ansible Collection.

Watch On-Demand
Introduction into Chocolatey with Veeam

Webinar from
Tuesday, 13 December 2022

Join Gary, Paul, and Maurice as they introduce and demonstrate how to use Chocolatey! Questions will be answered live in an Ask Me Anything format.

Watch On-Demand

Downloads:

19,757,471

Downloads of v 3.9.13:

85,154

Last Update:

17 May 2022

Package Maintainer(s):

Software Author(s):

  • Python Software Foundation

Tags:

python programming development foss cross-platform admin

Python

This is not the latest version of Python available.

  • 1
  • 2
  • 3

3.9.13 | Updated: 17 May 2022

Downloads:

19,757,471

Downloads of v 3.9.13:

85,154

Maintainer(s):

Software Author(s):

  • Python Software Foundation

Python 3.9.13

This is not the latest version of Python available.

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Python3 is bypassing verifier, so this package will need to as well.

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

To uninstall Python, run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade python -y --source="'INTERNAL REPO URL'" --version="'3.9.13'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade python -y --source="'INTERNAL REPO URL'" --version="'3.9.13'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install python
  win_chocolatey:
    name: python
    version: '3.9.13'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'python' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.9.13'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller python
{
    Name     = "python"
    Version  = "3.9.13"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'python':
  ensure   => '3.9.13',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved as a trusted package on 18 May 2022.

Description

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

Notes

  • This package depends on the the latest major version of python package.
  • This package do not support package parameters, please install the package python3 directly when using package parameters.

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
Python 3.12.0-rc3 561 Tuesday, September 19, 2023 Approved
Python 3.12.0-rc2 539 Wednesday, September 6, 2023 Approved
Python 3.12.0-rc1 1124 Sunday, August 6, 2023 Approved
Python 3.12.0-b4 951 Wednesday, July 12, 2023 Approved
Python 3.12.0-b3 969 Wednesday, June 21, 2023 Approved
Python 3.12.0-b2 528 Wednesday, June 7, 2023 Approved
Python 3.12.0-b1 522 Wednesday, May 24, 2023 Approved
Python 3.12.0-a7 160 Wednesday, April 5, 2023 Approved
Python 3.12.0-a6 863 Wednesday, March 22, 2023 Approved
Python 3.12.0-a2 4593 Thursday, November 17, 2022 Approved
Python 3.12.0-a1 915 Tuesday, October 25, 2022 Approved
Python 3.11.4 1016066 Wednesday, June 7, 2023 Approved
Python 3.11.3 842175 Wednesday, April 12, 2023 Approved
Python 3.11.2 316509 Wednesday, March 22, 2023 Approved
Python 3.11.0 1973171 Tuesday, October 25, 2022 Approved
Python 3.11.0-rc2 1661 Monday, September 12, 2022 Approved
Python 3.11.0-rc1 1247 Monday, August 8, 2022 Approved
Python 3.11.0-b5 513 Tuesday, July 26, 2022 Approved
Python 3.11.0-b4 832 Tuesday, July 12, 2022 Approved
Python 3.11.0-b3 1278 Wednesday, June 1, 2022 Approved
Python 3.11.0-b2 148 Tuesday, May 31, 2022 Approved
Python 3.11.0-b1 741 Sunday, May 8, 2022 Approved
Python 3.11.0-a7 956 Wednesday, April 6, 2022 Approved
Python 3.11.0-a6 870 Tuesday, March 8, 2022 Approved
Python 3.11.0-a5 958 Saturday, February 5, 2022 Approved
Python 3.11.0-a4 678 Monday, January 17, 2022 Approved
Python 3.11.0-a3 1005 Thursday, December 9, 2021 Approved
Python 3.11.0-a2 844 Saturday, November 6, 2021 Approved
Python 3.11.0-a1 814 Thursday, October 7, 2021 Approved
Python 3.10.11 8919 Thursday, April 6, 2023 Approved
Python 3.10.10 3334 Wednesday, March 22, 2023 Approved
Python 3.10.8 191420 Wednesday, October 12, 2022 Approved
Python 3.10.7 487274 Tuesday, September 6, 2022 Approved
Python 3.10.6 454430 Tuesday, August 2, 2022 Approved
Python 3.10.5 704414 Monday, June 6, 2022 Approved
Python 3.10.4 930452 Thursday, March 24, 2022 Approved
Python 3.10.3 126777 Wednesday, March 16, 2022 Approved
Python 3.10.2 1541007 Monday, January 17, 2022 Approved
Python 3.10.1 520219 Tuesday, December 7, 2021 Approved
Python 3.10.0 845115 Tuesday, October 5, 2021 Approved
Python 3.10.0-rc2 695 Wednesday, September 8, 2021 Approved
Python 3.10.0-rc1 780 Tuesday, August 3, 2021 Approved
Python 3.10.0-b4 628 Sunday, July 11, 2021 Approved
Python 3.10.0-b3 515 Friday, June 18, 2021 Approved
Python 3.10.0-b2 463 Tuesday, June 1, 2021 Approved
Python 3.10.0-b1 593 Tuesday, May 4, 2021 Approved
Python 3.10.0-a7 695 Wednesday, April 7, 2021 Approved
Python 3.10.0-a6 840 Tuesday, March 2, 2021 Approved
Python 3.10.0-a5 780 Wednesday, February 3, 2021 Approved
Python 3.10.0-a4 801 Tuesday, January 5, 2021 Approved
Python 3.10.0-a3 568 Tuesday, December 8, 2020 Approved
Python 3.10.0-a2 796 Tuesday, November 3, 2020 Approved
Python 3.10.0-a1 858 Tuesday, October 6, 2020 Approved
Python 3.9.13 85154 Tuesday, May 17, 2022 Approved
Python 3.9.12 18946 Thursday, March 24, 2022 Approved
Python 3.9.11 2019 Wednesday, March 16, 2022 Approved
Python 3.9.10 6362 Monday, January 17, 2022 Approved
Python 3.9.9 12509 Tuesday, November 16, 2021 Approved
Python 3.9.8 1382 Saturday, November 6, 2021 Approved
Python 3.9.7 432928 Tuesday, August 31, 2021 Approved
Python 3.9.6 815294 Tuesday, June 29, 2021 Approved
Python 3.9.5 669106 Tuesday, May 4, 2021 Approved
Python 3.9.4 317535 Monday, April 5, 2021 Approved
Python 3.9.2 490197 Friday, February 19, 2021 Approved
Python 3.9.1 756657 Tuesday, December 8, 2020 Approved
Python 3.9.0 680154 Monday, October 5, 2020 Approved
Python 3.9.0-rc2 541 Thursday, September 17, 2020 Approved
Python 3.9.0-rc1 909 Wednesday, August 12, 2020 Approved
Python 3.9.0-b5 737 Tuesday, July 21, 2020 Approved
Python 3.9.0-b4 570 Friday, July 3, 2020 Approved
Python 3.9.0-b3 670 Wednesday, June 10, 2020 Approved
Python 3.9.0-b2 258 Tuesday, June 9, 2020 Approved
Python 3.9.0-b1 538 Tuesday, May 19, 2020 Approved
Python 3.9.0-a6 579 Tuesday, April 28, 2020 Approved
Python 3.9.0-a5 835 Tuesday, March 24, 2020 Approved
Python 3.9.0-a4 729 Wednesday, February 26, 2020 Approved
Python 3.9.0-a3 848 Saturday, January 25, 2020 Approved
Python 3.9.0-a2-20200110 508 Friday, January 10, 2020 Approved
Python 3.9.0-a2 557 Thursday, December 19, 2019 Approved
Python 3.9.0-a1 740 Wednesday, November 20, 2019 Approved
Python 3.8.10 69103 Monday, May 3, 2021 Approved
Python 3.8.9 21635 Friday, April 2, 2021 Approved
Python 3.8.8 21302 Friday, February 19, 2021 Approved
Python 3.8.7 5544 Tuesday, December 22, 2020 Approved
Python 3.8.6 119914 Thursday, September 24, 2020 Approved
Python 3.8.6-rc1 200 Wednesday, September 9, 2020 Approved
Python 3.8.5.20200721 546134 Tuesday, July 21, 2020 Approved
Python 3.8.5 618715 Monday, July 20, 2020 Approved
Python 3.8.4 66770 Tuesday, July 14, 2020 Approved
Python 3.8.4-rc1 218 Friday, July 3, 2020 Approved
Python 3.8.3 609939 Thursday, May 14, 2020 Approved
Python 3.8.3-rc1 192 Thursday, April 30, 2020 Approved
Python 3.8.2 457184 Wednesday, February 26, 2020 Approved
Python 3.8.1.20200110 117248 Friday, January 10, 2020 Approved
Python 3.8.1 30645 Thursday, December 19, 2019 Approved
Python 3.8.0 207999 Tuesday, October 15, 2019 Approved
Python 3.8.0-rc1 403 Wednesday, October 2, 2019 Approved
Python 3.8.0-b4 841 Friday, August 30, 2019 Approved
Python 3.8.0-b3 640 Tuesday, July 30, 2019 Approved
Python 3.8.0-b2 503 Friday, July 5, 2019 Approved
Python 3.8.0-b1 676 Wednesday, June 5, 2019 Approved
Python 3.8.0-a4 606 Tuesday, May 7, 2019 Approved
Python 3.8.0-a3 729 Tuesday, March 26, 2019 Approved
Python 3.8.0-a2 539 Tuesday, February 26, 2019 Approved
Python 3.8.0-a1 499 Monday, February 4, 2019 Approved
Python 3.7.9 52770 Tuesday, August 18, 2020 Approved
Python 3.7.8 10077 Sunday, June 28, 2020 Approved
Python 3.7.7 18509 Tuesday, March 10, 2020 Approved
Python 3.7.6.20200110 953 Friday, January 10, 2020 Approved
Python 3.7.6 323438 Thursday, December 19, 2019 Approved
Python 3.7.5 58514 Wednesday, October 16, 2019 Approved
Python 3.7.4 187904 Tuesday, July 9, 2019 Approved
Python 3.7.3 90835 Tuesday, March 26, 2019 Approved
Python 3.7.2 89804 Monday, December 24, 2018 Approved
Python 3.7.2-rc1 406 Wednesday, December 12, 2018 Approved
Python 3.7.1 38301 Saturday, October 20, 2018 Approved
Python 3.7.1-rc2 365 Sunday, October 14, 2018 Approved
Python 3.7.1-rc1 440 Thursday, September 27, 2018 Approved
Python 3.7.0 169996 Thursday, June 28, 2018 Approved
Python 3.7.0-rc1 481 Wednesday, June 13, 2018 Approved
Python 3.7.0-b5 462 Thursday, May 31, 2018 Approved
Python 3.7.0-b4 578 Thursday, May 3, 2018 Approved
Python 3.7.0-b3 573 Friday, March 30, 2018 Approved
Python 3.7.0-b2 623 Wednesday, February 28, 2018 Approved
Python 3.7.0-b1 664 Thursday, February 1, 2018 Approved
Python 3.7.0-a4-20180116 511 Tuesday, January 16, 2018 Approved
Python 3.7.0-a4 533 Tuesday, January 9, 2018 Approved
Python 3.7.0-a3 626 Wednesday, December 6, 2017 Approved
Python 3.7.0-a2 601 Thursday, November 9, 2017 Approved
Python 3.6.8.20200110 353 Friday, January 10, 2020 Approved
Python 3.6.8 163285 Monday, December 24, 2018 Approved
Python 3.6.8-rc1 253 Wednesday, December 12, 2018 Approved
Python 3.6.7 34917 Saturday, October 20, 2018 Approved
Python 3.6.7-rc2 265 Sunday, October 14, 2018 Approved
Python 3.6.7-rc1 291 Thursday, September 27, 2018 Approved
Python 3.6.6 73258 Thursday, June 28, 2018 Approved
Python 3.6.6-rc1 346 Wednesday, June 13, 2018 Approved
Python 3.6.5 73105 Thursday, March 29, 2018 Approved
Python 3.6.5-rc1 364 Wednesday, March 14, 2018 Approved
Python 3.6.4.20180116 27888 Tuesday, January 16, 2018 Approved
Python 3.6.4 13300 Tuesday, December 19, 2017 Approved
Python 3.6.4-rc1 456 Wednesday, December 6, 2017 Approved
Python 3.6.3 201695 Wednesday, October 4, 2017 Approved
Python 3.6.2 22706 Monday, July 17, 2017 Approved
Python 3.6.1 25513 Wednesday, March 22, 2017 Approved
Python 3.6.0 29107 Friday, December 23, 2016 Approved
Python 3.5.4.20200110 1186 Friday, January 10, 2020 Approved
Python 3.5.4 35606 Thursday, November 9, 2017 Approved
Python 3.5.2.20161029 12416 Saturday, October 29, 2016 Approved
Python 3.5.1.20161002 5918 Sunday, October 2, 2016 Approved
Python 3.5.1 30130 Sunday, December 27, 2015 Approved
Python 3.4.4.20200110 2447 Friday, January 10, 2020 Approved
Python 3.4.4.20180111 8300 Thursday, January 11, 2018 Approved
Python 3.4.4 1427 Thursday, November 9, 2017 Approved
Python 3.4.3.20150501 19977 Friday, May 1, 2015 Approved
Python 3.4.3 7785 Wednesday, February 25, 2015 Approved
Python 3.4.2 12239 Wednesday, October 8, 2014 Approved
Python 3.4.1.20141004 921 Saturday, October 4, 2014 Approved
Python 3.4.1.20140610 5698 Tuesday, June 10, 2014 Approved
Python 3.4.1 849 Saturday, June 7, 2014 Approved
Python 3.4.0.20140321 3905 Tuesday, March 25, 2014 Approved
Python 3.4.0 1758 Monday, March 17, 2014 Approved
Python 3.3.5.20200110 174 Friday, January 10, 2020 Approved
Python 3.3.5 336 Tuesday, February 26, 2019 Approved
Python 3.3.4 944 Thursday, November 9, 2017 Approved
Python 3.2.5.20200110 183 Friday, January 10, 2020 Approved
Python 3.2.5 544 Thursday, November 9, 2017 Approved
Python 3.1.4.20200110 177 Friday, January 10, 2020 Approved
Python 3.1.4 445 Thursday, November 9, 2017 Approved
Python 3.0.1.20200110 193 Friday, January 10, 2020 Approved
Python 3.0.1 450 Thursday, November 9, 2017 Approved
Python 2.7.11 41387 Saturday, December 5, 2015 Approved
Python 2.7.10 91881 Saturday, October 10, 2015 Approved
Python 2.7.6 23463 Monday, November 11, 2013 Approved
Python 2.7.5 6491 Monday, May 20, 2013 Approved
Python 2.7.4 1935 Sunday, April 7, 2013 Approved
Python 2.7.3 6267 Saturday, April 14, 2012 Approved
Python 2.7.2.1 883 Friday, February 3, 2012 Approved
Python 2.7.2 9517 Tuesday, September 27, 2011 Approved

Discussion for the Python Package

Ground Rules:

  • This discussion is only about Python and the Python 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, 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