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:

15,685,088

Downloads of v 3.9.7:

429,551

Last Update:

31 Aug 2021

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.7 | Updated: 31 Aug 2021

Downloads:

15,685,088

Downloads of v 3.9.7:

429,551

Maintainer(s):

Software Author(s):

  • Python Software Foundation

Python 3.9.7

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

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


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

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


package { 'python':
  ensure   => '3.9.7',
  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 31 Aug 2021.

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-a2 2530 Thursday, November 17, 2022 Approved
Python 3.12.0-a1 865 Tuesday, October 25, 2022 Approved
Python 3.11.0-rc2 1604 Monday, September 12, 2022 Approved
Python 3.11.0-rc1 1210 Monday, August 8, 2022 Approved
Python 3.11.0-b5 472 Tuesday, July 26, 2022 Approved
Python 3.11.0-b4 792 Tuesday, July 12, 2022 Approved
Python 3.11.0-b3 1250 Wednesday, June 1, 2022 Approved
Python 3.11.0-b2 106 Tuesday, May 31, 2022 Approved
Python 3.11.0-b1 719 Sunday, May 8, 2022 Approved
Python 3.11.0-a7 925 Wednesday, April 6, 2022 Approved
Python 3.11.0-a6 843 Tuesday, March 8, 2022 Approved
Python 3.11.0-a5 934 Saturday, February 5, 2022 Approved
Python 3.11.0-a4 660 Monday, January 17, 2022 Approved
Python 3.11.0-a3 954 Thursday, December 9, 2021 Approved
Python 3.11.0-a2 823 Saturday, November 6, 2021 Approved
Python 3.11.0-a1 791 Thursday, October 7, 2021 Approved
Python 3.10.8 182213 Wednesday, October 12, 2022 Approved
Python 3.10.7 485749 Tuesday, September 6, 2022 Approved
Python 3.10.6 448423 Tuesday, August 2, 2022 Approved
Python 3.10.5 703078 Monday, June 6, 2022 Approved
Python 3.10.4 927868 Thursday, March 24, 2022 Approved
Python 3.10.3 122096 Wednesday, March 16, 2022 Approved
Python 3.10.2 1354122 Monday, January 17, 2022 Approved
Python 3.10.1 519614 Tuesday, December 7, 2021 Approved
Python 3.10.0 829917 Tuesday, October 5, 2021 Approved
Python 3.10.0-rc2 674 Wednesday, September 8, 2021 Approved
Python 3.10.0-rc1 760 Tuesday, August 3, 2021 Approved
Python 3.10.0-b4 601 Sunday, July 11, 2021 Approved
Python 3.10.0-b3 493 Friday, June 18, 2021 Approved
Python 3.10.0-b2 446 Tuesday, June 1, 2021 Approved
Python 3.10.0-b1 568 Tuesday, May 4, 2021 Approved
Python 3.10.0-a7 671 Wednesday, April 7, 2021 Approved
Python 3.10.0-a6 815 Tuesday, March 2, 2021 Approved
Python 3.10.0-a5 757 Wednesday, February 3, 2021 Approved
Python 3.10.0-a4 782 Tuesday, January 5, 2021 Approved
Python 3.10.0-a3 545 Tuesday, December 8, 2020 Approved
Python 3.10.0-a2 777 Tuesday, November 3, 2020 Approved
Python 3.10.0-a1 834 Tuesday, October 6, 2020 Approved
Python 3.9.13 27551 Tuesday, May 17, 2022 Approved
Python 3.9.12 12631 Thursday, March 24, 2022 Approved
Python 3.9.11 1752 Wednesday, March 16, 2022 Approved
Python 3.9.10 4933 Monday, January 17, 2022 Approved
Python 3.9.9 10223 Tuesday, November 16, 2021 Approved
Python 3.9.8 1162 Saturday, November 6, 2021 Approved
Python 3.9.7 429551 Tuesday, August 31, 2021 Approved
Python 3.9.6 813086 Tuesday, June 29, 2021 Approved
Python 3.9.5 658816 Tuesday, May 4, 2021 Approved
Python 3.9.4 316567 Monday, April 5, 2021 Approved
Python 3.9.2 488225 Friday, February 19, 2021 Approved
Python 3.9.1 745442 Tuesday, December 8, 2020 Approved
Python 3.9.0 645152 Monday, October 5, 2020 Approved
Python 3.9.0-rc2 520 Thursday, September 17, 2020 Approved
Python 3.9.0-rc1 883 Wednesday, August 12, 2020 Approved
Python 3.9.0-b5 711 Tuesday, July 21, 2020 Approved
Python 3.9.0-b4 543 Friday, July 3, 2020 Approved
Python 3.9.0-b3 616 Wednesday, June 10, 2020 Approved
Python 3.9.0-b2 233 Tuesday, June 9, 2020 Approved
Python 3.9.0-b1 507 Tuesday, May 19, 2020 Approved
Python 3.9.0-a6 555 Tuesday, April 28, 2020 Approved
Python 3.9.0-a5 813 Tuesday, March 24, 2020 Approved
Python 3.9.0-a4 709 Wednesday, February 26, 2020 Approved
Python 3.9.0-a3 826 Saturday, January 25, 2020 Approved
Python 3.9.0-a2-20200110 480 Friday, January 10, 2020 Approved
Python 3.9.0-a2 525 Thursday, December 19, 2019 Approved
Python 3.9.0-a1 717 Wednesday, November 20, 2019 Approved
Python 3.8.10 47573 Monday, May 3, 2021 Approved
Python 3.8.9 14718 Friday, April 2, 2021 Approved
Python 3.8.8 17210 Friday, February 19, 2021 Approved
Python 3.8.7 5166 Tuesday, December 22, 2020 Approved
Python 3.8.6 118207 Thursday, September 24, 2020 Approved
Python 3.8.6-rc1 176 Wednesday, September 9, 2020 Approved
Python 3.8.5.20200721 546045 Tuesday, July 21, 2020 Approved
Python 3.8.5 473760 Monday, July 20, 2020 Approved
Python 3.8.4 66363 Tuesday, July 14, 2020 Approved
Python 3.8.4-rc1 193 Friday, July 3, 2020 Approved
Python 3.8.3 601672 Thursday, May 14, 2020 Approved
Python 3.8.3-rc1 170 Thursday, April 30, 2020 Approved
Python 3.8.2 455558 Wednesday, February 26, 2020 Approved
Python 3.8.1.20200110 116899 Friday, January 10, 2020 Approved
Python 3.8.1 30135 Thursday, December 19, 2019 Approved
Python 3.8.0 176387 Tuesday, October 15, 2019 Approved
Python 3.8.0-rc1 373 Wednesday, October 2, 2019 Approved
Python 3.8.0-b4 813 Friday, August 30, 2019 Approved
Python 3.8.0-b3 618 Tuesday, July 30, 2019 Approved
Python 3.8.0-b2 479 Friday, July 5, 2019 Approved
Python 3.8.0-b1 652 Wednesday, June 5, 2019 Approved
Python 3.8.0-a4 582 Tuesday, May 7, 2019 Approved
Python 3.8.0-a3 701 Tuesday, March 26, 2019 Approved
Python 3.8.0-a2 514 Tuesday, February 26, 2019 Approved
Python 3.8.0-a1 477 Monday, February 4, 2019 Approved
Python 3.7.9 38135 Tuesday, August 18, 2020 Approved
Python 3.7.8 8540 Sunday, June 28, 2020 Approved
Python 3.7.7 17222 Tuesday, March 10, 2020 Approved
Python 3.7.6.20200110 922 Friday, January 10, 2020 Approved
Python 3.7.6 322914 Thursday, December 19, 2019 Approved
Python 3.7.5 55813 Wednesday, October 16, 2019 Approved
Python 3.7.4 186241 Tuesday, July 9, 2019 Approved
Python 3.7.3 90323 Tuesday, March 26, 2019 Approved
Python 3.7.2 86685 Monday, December 24, 2018 Approved
Python 3.7.2-rc1 386 Wednesday, December 12, 2018 Approved
Python 3.7.1 38209 Saturday, October 20, 2018 Approved
Python 3.7.1-rc2 336 Sunday, October 14, 2018 Approved
Python 3.7.1-rc1 420 Thursday, September 27, 2018 Approved
Python 3.7.0 167892 Thursday, June 28, 2018 Approved
Python 3.7.0-rc1 456 Wednesday, June 13, 2018 Approved
Python 3.7.0-b5 438 Thursday, May 31, 2018 Approved
Python 3.7.0-b4 551 Thursday, May 3, 2018 Approved
Python 3.7.0-b3 545 Friday, March 30, 2018 Approved
Python 3.7.0-b2 600 Wednesday, February 28, 2018 Approved
Python 3.7.0-b1 645 Thursday, February 1, 2018 Approved
Python 3.7.0-a4-20180116 486 Tuesday, January 16, 2018 Approved
Python 3.7.0-a4 501 Tuesday, January 9, 2018 Approved
Python 3.7.0-a3 604 Wednesday, December 6, 2017 Approved
Python 3.7.0-a2 570 Thursday, November 9, 2017 Approved
Python 3.6.8.20200110 319 Friday, January 10, 2020 Approved
Python 3.6.8 161146 Monday, December 24, 2018 Approved
Python 3.6.8-rc1 230 Wednesday, December 12, 2018 Approved
Python 3.6.7 34582 Saturday, October 20, 2018 Approved
Python 3.6.7-rc2 245 Sunday, October 14, 2018 Approved
Python 3.6.7-rc1 271 Thursday, September 27, 2018 Approved
Python 3.6.6 73060 Thursday, June 28, 2018 Approved
Python 3.6.6-rc1 319 Wednesday, June 13, 2018 Approved
Python 3.6.5 71014 Thursday, March 29, 2018 Approved
Python 3.6.5-rc1 331 Wednesday, March 14, 2018 Approved
Python 3.6.4.20180116 27852 Tuesday, January 16, 2018 Approved
Python 3.6.4 13049 Tuesday, December 19, 2017 Approved
Python 3.6.4-rc1 429 Wednesday, December 6, 2017 Approved
Python 3.6.3 196445 Wednesday, October 4, 2017 Approved
Python 3.6.2 22493 Monday, July 17, 2017 Approved
Python 3.6.1 25438 Wednesday, March 22, 2017 Approved
Python 3.6.0 27410 Friday, December 23, 2016 Approved
Python 3.5.4.20200110 1155 Friday, January 10, 2020 Approved
Python 3.5.4 28676 Thursday, November 9, 2017 Approved
Python 3.5.2.20161029 12376 Saturday, October 29, 2016 Approved
Python 3.5.1.20161002 5892 Sunday, October 2, 2016 Approved
Python 3.5.1 30052 Sunday, December 27, 2015 Approved
Python 3.4.4.20200110 2001 Friday, January 10, 2020 Approved
Python 3.4.4.20180111 8071 Thursday, January 11, 2018 Approved
Python 3.4.4 1368 Thursday, November 9, 2017 Approved
Python 3.4.3.20150501 19881 Friday, May 1, 2015 Approved
Python 3.4.3 7618 Wednesday, February 25, 2015 Approved
Python 3.4.2 12208 Wednesday, October 8, 2014 Approved
Python 3.4.1.20141004 898 Saturday, October 4, 2014 Approved
Python 3.4.1.20140610 5675 Tuesday, June 10, 2014 Approved
Python 3.4.1 812 Saturday, June 7, 2014 Approved
Python 3.4.0.20140321 3884 Tuesday, March 25, 2014 Approved
Python 3.4.0 1725 Monday, March 17, 2014 Approved
Python 3.3.5.20200110 149 Friday, January 10, 2020 Approved
Python 3.3.5 303 Tuesday, February 26, 2019 Approved
Python 3.3.4 909 Thursday, November 9, 2017 Approved
Python 3.2.5.20200110 159 Friday, January 10, 2020 Approved
Python 3.2.5 504 Thursday, November 9, 2017 Approved
Python 3.1.4.20200110 151 Friday, January 10, 2020 Approved
Python 3.1.4 411 Thursday, November 9, 2017 Approved
Python 3.0.1.20200110 159 Friday, January 10, 2020 Approved
Python 3.0.1 414 Thursday, November 9, 2017 Approved
Python 2.7.11 39610 Saturday, December 5, 2015 Approved
Python 2.7.10 91773 Saturday, October 10, 2015 Approved
Python 2.7.6 20742 Monday, November 11, 2013 Approved
Python 2.7.5 6461 Monday, May 20, 2013 Approved
Python 2.7.4 1894 Sunday, April 7, 2013 Approved
Python 2.7.3 6191 Saturday, April 14, 2012 Approved
Python 2.7.2.1 852 Friday, February 3, 2012 Approved
Python 2.7.2 9185 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