Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

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

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
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

Downloads:

33,341,125

Downloads of v 3.11.2:

318,854

Last Update:

22 Mar 2023

Package Maintainer(s):

Software Author(s):

  • Python Software Foundation

Tags:

Python

This is not the latest version of Python available.

  • 1
  • 2
  • 3

3.11.2 | Updated: 22 Mar 2023

Downloads:

33,341,125

Downloads of v 3.11.2:

318,854

Maintainer(s):

Software Author(s):

  • Python Software Foundation

Python 3.11.2

This is not the latest version of Python available.

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Python Software Foundation. The inclusion of Python Software Foundation trademark(s), if any, upon this webpage is solely to identify Python Software Foundation goods or services and not for commercial purposes.

  • 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.11.2'" [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.11.2'" 
$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.11.2'
    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.11.2'
end

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


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

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


package { 'python':
  ensure   => '3.11.2',
  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 22 Mar 2023.

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 python311 directly when using package parameters.
  • If the package is out of date please check Version History for the latest submitted version. If you have a question, please ask it in Chocolatey Community Package Discussions or raise an issue on the Chocolatey Community Packages Repository if you have problems with the package. Disqus comments will generally not be responded to.

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.14.0-b3 728 Wednesday, June 18, 2025 Approved
Python 3.14.0-b2 2445 Tuesday, May 27, 2025 Approved
Python 3.14.0-b1 2598 Wednesday, May 7, 2025 Approved
Python 3.14.0-a7 3060 Tuesday, April 8, 2025 Approved
Python 3.14.0-a6 1884 Friday, March 14, 2025 Approved
Python 3.14.0-a5 1229 Thursday, February 20, 2025 Approved
Python 3.14.0-a4 1698 Tuesday, January 14, 2025 Approved
Python 3.14.0-a3 915 Sunday, December 22, 2024 Approved
Python 3.13.4 167920 Wednesday, June 4, 2025 Approved
Python 3.13.3 975248 Tuesday, April 8, 2025 Approved
Python 3.13.2 539182 Thursday, February 20, 2025 Approved
Python 3.13.1 1239894 Sunday, December 22, 2024 Approved
Python 3.13.0-rc2 5658 Saturday, September 7, 2024 Approved
Python 3.13.0-rc1 2319 Thursday, August 1, 2024 Approved
Python 3.13.0-b4 632 Friday, July 19, 2024 Approved
Python 3.13.0-b3 915 Sunday, June 30, 2024 Approved
Python 3.13.0-b2 907 Friday, June 7, 2024 Approved
Python 3.13.0-b1 1023 Friday, May 10, 2024 Approved
Python 3.13.0-a6 922 Thursday, April 11, 2024 Approved
Python 3.13.0-a5 937 Friday, March 15, 2024 Approved
Python 3.13.0-a4 1034 Saturday, February 17, 2024 Approved
Python 3.13.0-a3 1006 Saturday, January 20, 2024 Approved
Python 3.13.0-a2 1788 Friday, November 24, 2023 Approved
Python 3.13.0-a1 1596 Saturday, October 14, 2023 Approved
Python 3.12.10 1504 Tuesday, April 8, 2025 Approved
Python 3.12.9 4051 Thursday, February 20, 2025 Approved
Python 3.12.8 34939 Sunday, December 22, 2024 Approved
Python 3.12.6 1554988 Saturday, September 7, 2024 Approved
Python 3.12.5 372585 Wednesday, August 7, 2024 Approved
Python 3.12.4 898604 Friday, June 7, 2024 Approved
Python 3.12.3 855733 Tuesday, April 9, 2024 Approved
Python 3.12.2 893538 Wednesday, February 7, 2024 Approved
Python 3.12.1 820947 Friday, December 8, 2023 Approved
Python 3.12.0 942080 Monday, October 2, 2023 Approved
Python 3.12.0-rc3 722 Tuesday, September 19, 2023 Approved
Python 3.12.0-rc2 672 Wednesday, September 6, 2023 Approved
Python 3.12.0-rc1 1262 Sunday, August 6, 2023 Approved
Python 3.12.0-b4 1069 Wednesday, July 12, 2023 Approved
Python 3.12.0-b3 1109 Wednesday, June 21, 2023 Approved
Python 3.12.0-b2 651 Wednesday, June 7, 2023 Approved
Python 3.12.0-b1 635 Wednesday, May 24, 2023 Approved
Python 3.12.0-a7 273 Wednesday, April 5, 2023 Approved
Python 3.12.0-a6 994 Wednesday, March 22, 2023 Approved
Python 3.12.0-a2 4748 Thursday, November 17, 2022 Approved
Python 3.12.0-a1 1029 Tuesday, October 25, 2022 Approved
Python 3.11.9 29558 Tuesday, April 2, 2024 Approved
Python 3.11.8 5405 Wednesday, February 7, 2024 Approved
Python 3.11.7 3204 Tuesday, December 5, 2023 Approved
Python 3.11.6 10332 Monday, October 2, 2023 Approved
Python 3.11.5 544593 Thursday, August 24, 2023 Approved
Python 3.11.4 1040236 Wednesday, June 7, 2023 Approved
Python 3.11.3 860220 Wednesday, April 12, 2023 Approved
Python 3.11.2 318854 Wednesday, March 22, 2023 Approved
Python 3.11.0 2054233 Tuesday, October 25, 2022 Approved
Python 3.11.0-rc2 1791 Monday, September 12, 2022 Approved
Python 3.11.0-rc1 1375 Monday, August 8, 2022 Approved
Python 3.11.0-b5 639 Tuesday, July 26, 2022 Approved
Python 3.11.0-b4 953 Tuesday, July 12, 2022 Approved
Python 3.11.0-b3 1381 Wednesday, June 1, 2022 Approved
Python 3.11.0-b2 296 Tuesday, May 31, 2022 Approved
Python 3.11.0-b1 839 Sunday, May 8, 2022 Approved
Python 3.11.0-a7 1097 Wednesday, April 6, 2022 Approved
Python 3.11.0-a6 988 Tuesday, March 8, 2022 Approved
Python 3.11.0-a5 1061 Saturday, February 5, 2022 Approved
Python 3.11.0-a4 771 Monday, January 17, 2022 Approved
Python 3.11.0-a3 1166 Thursday, December 9, 2021 Approved
Python 3.11.0-a2 942 Saturday, November 6, 2021 Approved
Python 3.11.0-a1 909 Thursday, October 7, 2021 Approved
Python 3.10.11 62466 Thursday, April 6, 2023 Approved
Python 3.10.10 11829 Wednesday, March 22, 2023 Approved
Python 3.10.8 196191 Wednesday, October 12, 2022 Approved
Python 3.10.7 490938 Tuesday, September 6, 2022 Approved
Python 3.10.6 461988 Tuesday, August 2, 2022 Approved
Python 3.10.5 708738 Monday, June 6, 2022 Approved
Python 3.10.4 936772 Thursday, March 24, 2022 Approved
Python 3.10.3 134150 Wednesday, March 16, 2022 Approved
Python 3.10.2 4520394 Monday, January 17, 2022 Approved
Python 3.10.1 533166 Tuesday, December 7, 2021 Approved
Python 3.10.0 909692 Tuesday, October 5, 2021 Approved
Python 3.10.0-rc2 787 Wednesday, September 8, 2021 Approved
Python 3.10.0-rc1 879 Tuesday, August 3, 2021 Approved
Python 3.10.0-b4 746 Sunday, July 11, 2021 Approved
Python 3.10.0-b3 644 Friday, June 18, 2021 Approved
Python 3.10.0-b2 563 Tuesday, June 1, 2021 Approved
Python 3.10.0-b1 685 Tuesday, May 4, 2021 Approved
Python 3.10.0-a7 779 Wednesday, April 7, 2021 Approved
Python 3.10.0-a6 957 Tuesday, March 2, 2021 Approved
Python 3.10.0-a5 883 Wednesday, February 3, 2021 Approved
Python 3.10.0-a4 906 Tuesday, January 5, 2021 Approved
Python 3.10.0-a3 666 Tuesday, December 8, 2020 Approved
Python 3.10.0-a2 912 Tuesday, November 3, 2020 Approved
Python 3.10.0-a1 960 Tuesday, October 6, 2020 Approved
Python 3.9.13 121448 Tuesday, May 17, 2022 Approved
Python 3.9.12 26303 Thursday, March 24, 2022 Approved
Python 3.9.11 2381 Wednesday, March 16, 2022 Approved
Python 3.9.10 10118 Monday, January 17, 2022 Approved
Python 3.9.9 13654 Tuesday, November 16, 2021 Approved
Python 3.9.8 1614 Saturday, November 6, 2021 Approved
Python 3.9.7 436759 Tuesday, August 31, 2021 Approved
Python 3.9.6 820036 Tuesday, June 29, 2021 Approved
Python 3.9.5 676856 Tuesday, May 4, 2021 Approved
Python 3.9.4 320214 Monday, April 5, 2021 Approved
Python 3.9.2 495202 Friday, February 19, 2021 Approved
Python 3.9.1 764518 Tuesday, December 8, 2020 Approved
Python 3.9.0 816407 Monday, October 5, 2020 Approved
Python 3.9.0-rc2 671 Thursday, September 17, 2020 Approved
Python 3.9.0-rc1 999 Wednesday, August 12, 2020 Approved
Python 3.9.0-b5 838 Tuesday, July 21, 2020 Approved
Python 3.9.0-b4 682 Friday, July 3, 2020 Approved
Python 3.9.0-b3 774 Wednesday, June 10, 2020 Approved
Python 3.9.0-b2 372 Tuesday, June 9, 2020 Approved
Python 3.9.0-b1 637 Tuesday, May 19, 2020 Approved
Python 3.9.0-a6 694 Tuesday, April 28, 2020 Approved
Python 3.9.0-a5 941 Tuesday, March 24, 2020 Approved
Python 3.9.0-a4 838 Wednesday, February 26, 2020 Approved
Python 3.9.0-a3 948 Saturday, January 25, 2020 Approved
Python 3.9.0-a2-20200110 638 Friday, January 10, 2020 Approved
Python 3.9.0-a2 661 Thursday, December 19, 2019 Approved
Python 3.9.0-a1 859 Wednesday, November 20, 2019 Approved
Python 3.8.10 89477 Monday, May 3, 2021 Approved
Python 3.8.9 23960 Friday, April 2, 2021 Approved
Python 3.8.8 25316 Friday, February 19, 2021 Approved
Python 3.8.7 5854 Tuesday, December 22, 2020 Approved
Python 3.8.6 121898 Thursday, September 24, 2020 Approved
Python 3.8.6-rc1 280 Wednesday, September 9, 2020 Approved
Python 3.8.5.20200721 546292 Tuesday, July 21, 2020 Approved
Python 3.8.5 793691 Monday, July 20, 2020 Approved
Python 3.8.4 67132 Tuesday, July 14, 2020 Approved
Python 3.8.4-rc1 317 Friday, July 3, 2020 Approved
Python 3.8.3 633642 Thursday, May 14, 2020 Approved
Python 3.8.3-rc1 297 Thursday, April 30, 2020 Approved
Python 3.8.2 459640 Wednesday, February 26, 2020 Approved
Python 3.8.1.20200110 117417 Friday, January 10, 2020 Approved
Python 3.8.1 31356 Thursday, December 19, 2019 Approved
Python 3.8.0 240506 Tuesday, October 15, 2019 Approved
Python 3.8.0-rc1 507 Wednesday, October 2, 2019 Approved
Python 3.8.0-b4 960 Friday, August 30, 2019 Approved
Python 3.8.0-b3 753 Tuesday, July 30, 2019 Approved
Python 3.8.0-b2 619 Friday, July 5, 2019 Approved
Python 3.8.0-b1 793 Wednesday, June 5, 2019 Approved
Python 3.8.0-a4 720 Tuesday, May 7, 2019 Approved
Python 3.8.0-a3 835 Tuesday, March 26, 2019 Approved
Python 3.8.0-a2 635 Tuesday, February 26, 2019 Approved
Python 3.8.0-a1 616 Monday, February 4, 2019 Approved
Python 3.7.9 65650 Tuesday, August 18, 2020 Approved
Python 3.7.8 10531 Sunday, June 28, 2020 Approved
Python 3.7.7 20089 Tuesday, March 10, 2020 Approved
Python 3.7.6.20200110 1084 Friday, January 10, 2020 Approved
Python 3.7.6 323755 Thursday, December 19, 2019 Approved
Python 3.7.5 60613 Wednesday, October 16, 2019 Approved
Python 3.7.4 189801 Tuesday, July 9, 2019 Approved
Python 3.7.3 91282 Tuesday, March 26, 2019 Approved
Python 3.7.2 95900 Monday, December 24, 2018 Approved
Python 3.7.2-rc1 538 Wednesday, December 12, 2018 Approved
Python 3.7.1 38535 Saturday, October 20, 2018 Approved
Python 3.7.1-rc2 495 Sunday, October 14, 2018 Approved
Python 3.7.1-rc1 548 Thursday, September 27, 2018 Approved
Python 3.7.0 172081 Thursday, June 28, 2018 Approved
Python 3.7.0-rc1 585 Wednesday, June 13, 2018 Approved
Python 3.7.0-b5 575 Thursday, May 31, 2018 Approved
Python 3.7.0-b4 712 Thursday, May 3, 2018 Approved
Python 3.7.0-b3 702 Friday, March 30, 2018 Approved
Python 3.7.0-b2 741 Wednesday, February 28, 2018 Approved
Python 3.7.0-b1 794 Thursday, February 1, 2018 Approved
Python 3.7.0-a4-20180116 651 Tuesday, January 16, 2018 Approved
Python 3.7.0-a4 652 Tuesday, January 9, 2018 Approved
Python 3.7.0-a3 743 Wednesday, December 6, 2017 Approved
Python 3.7.0-a2 722 Thursday, November 9, 2017 Approved
Python 3.6.8.20200110 491 Friday, January 10, 2020 Approved
Python 3.6.8 167182 Monday, December 24, 2018 Approved
Python 3.6.8-rc1 381 Wednesday, December 12, 2018 Approved
Python 3.6.7 35490 Saturday, October 20, 2018 Approved
Python 3.6.7-rc2 393 Sunday, October 14, 2018 Approved
Python 3.6.7-rc1 399 Thursday, September 27, 2018 Approved
Python 3.6.6 73762 Thursday, June 28, 2018 Approved
Python 3.6.6-rc1 459 Wednesday, June 13, 2018 Approved
Python 3.6.5 80421 Thursday, March 29, 2018 Approved
Python 3.6.5-rc1 477 Wednesday, March 14, 2018 Approved
Python 3.6.4.20180116 28029 Tuesday, January 16, 2018 Approved
Python 3.6.4 13802 Tuesday, December 19, 2017 Approved
Python 3.6.4-rc1 577 Wednesday, December 6, 2017 Approved
Python 3.6.3 213806 Wednesday, October 4, 2017 Approved
Python 3.6.2 23152 Monday, July 17, 2017 Approved
Python 3.6.1 25660 Wednesday, March 22, 2017 Approved
Python 3.6.0 31318 Friday, December 23, 2016 Approved
Python 3.5.4.20200110 1323 Friday, January 10, 2020 Approved
Python 3.5.4 35844 Thursday, November 9, 2017 Approved
Python 3.5.2.20161029 12547 Saturday, October 29, 2016 Approved
Python 3.5.1.20161002 6059 Sunday, October 2, 2016 Approved
Python 3.5.1 30331 Sunday, December 27, 2015 Approved
Python 3.4.4.20200110 2931 Friday, January 10, 2020 Approved
Python 3.4.4.20180111 8646 Thursday, January 11, 2018 Approved
Python 3.4.4 1593 Thursday, November 9, 2017 Approved
Python 3.4.3.20150501 20326 Friday, May 1, 2015 Approved
Python 3.4.3 8184 Wednesday, February 25, 2015 Approved
Python 3.4.2 12367 Wednesday, October 8, 2014 Approved
Python 3.4.1.20141004 1044 Saturday, October 4, 2014 Approved
Python 3.4.1.20140610 5798 Tuesday, June 10, 2014 Approved
Python 3.4.1 1005 Saturday, June 7, 2014 Approved
Python 3.4.0.20140321 4015 Tuesday, March 25, 2014 Approved
Python 3.4.0 1893 Monday, March 17, 2014 Approved
Python 3.3.5.20200110 319 Friday, January 10, 2020 Approved
Python 3.3.5 465 Tuesday, February 26, 2019 Approved
Python 3.3.4 1055 Thursday, November 9, 2017 Approved
Python 3.2.5.20200110 314 Friday, January 10, 2020 Approved
Python 3.2.5 678 Thursday, November 9, 2017 Approved
Python 3.1.4.20200110 317 Friday, January 10, 2020 Approved
Python 3.1.4 586 Thursday, November 9, 2017 Approved
Python 3.0.1.20200110 335 Friday, January 10, 2020 Approved
Python 3.0.1 567 Thursday, November 9, 2017 Approved
Python 2.7.11 43414 Saturday, December 5, 2015 Approved
Python 2.7.10 92187 Saturday, October 10, 2015 Approved
Python 2.7.6 28913 Monday, November 11, 2013 Approved
Python 2.7.5 6639 Monday, May 20, 2013 Approved
Python 2.7.4 2052 Sunday, April 7, 2013 Approved
Python 2.7.3 6578 Saturday, April 14, 2012 Approved
Python 2.7.2.1 1029 Friday, February 3, 2012 Approved
Python 2.7.2 10216 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