How do i download and install python 3?

Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.

Release Schedules

  • Python 3.9 Release Schedule
  • Python 3.8 Release Schedule
  • Python 3.7 Release Schedule
  • Python 3.6 Release Schedule
  • Python 3.5 Release Schedule
  • Python 2.7 Release Schedule

OpenPGP Public Keys

Source and binary executables are signed by the release manager or binary builder using their OpenPGP key. Release files for currently supported releases are signed by the following:

  • Pablo Galindo Salgado (3.10.x and 3.11.x source files and tags) (key id: 64E628F8D684696D)
  • Steve Dower (Windows binaries) (key id: FC62 4643 4870 34E5)
  • Łukasz Langa (3.8.x and 3.9.x source files and tags) (key id: B269 95E3 1025 0568)
  • Ned Deily (macOS binaries, 3.7.x / 3.6.x source files and tags) (key ids: 2D34 7EA6 AA65 421D, FB99 2128 6F5E 1540, and Apple Developer ID DJ3H93M7VJ)
  • Larry Hastings (3.5.x source files and tags) (key id: 3A5C A953 F73C 700D)
  • Benjamin Peterson (2.7.z source files and tags) (key id: 04C3 67C2 18AD D4FF and A4135B38)

Release files for older releases which have now reached end-of-life may have been signed by one of the following:

  • Anthony Baxter (key id: 0EDD C5F2 6A45 C816)
  • Georg Brandl (key id: 0A5B 1018 3658 0288)
  • Martin v. Löwis (key id: 6AF0 53F0 7D9D C8D2)
  • Ronald Oussoren (key id: C9BE 28DE E6DF 025C)
  • Barry Warsaw (key ids: 126E B563 A74B 06BF, D986 6941 EA5B BD71, and ED9D77D5)

You can import a person's public keys from a public keyserver network server you trust by running a command like:

gpg --recv-keys [key id]

or, in many cases, public keys can also be found at keybase.io. On the version-specific download pages, you should see a link to both the downloadable file and a detached signature file. To verify the authenticity of the download, grab both files and then run this command:

gpg --verify Python-3.6.2.tgz.asc

Note that you must use the name of the signature file, and you should use the one that's appropriate to the download you're verifying.

  • (These instructions are geared to GnuPG and Unix command-line users.)

Other Useful Items

  • Looking for 3rd party Python modules? The Package Index has many of them.
  • You can view the standard documentation online, or you can download it in HTML, PostScript, PDF and other formats. See the main Documentation page.
  • Information on tools for unpacking archive files provided on python.org is available.
  • Tip: even if you download a ready-made binary for your platform, it makes sense to also download the source. This lets you browse the standard library (the subdirectory Lib) and the standard collections of demos (Demo) and tools (Tools) that come with it. There's a lot you can learn from the source!
  • There is also a collection of Emacs packages that the Emacsing Pythoneer might find useful. This includes major modes for editing Python, C, C++, Java, etc., Python debugger interfaces and more. Most packages are compatible with Emacs and XEmacs.

Want to contribute?

Want to contribute? See the Python Developer's Guide to learn about how Python development is managed.

Downloading Python

Before you start, you will need Python on your computer.

Check whether you already have an up to date version of Python installed by entering python in a command line window. If you see a response from a Python interpreter it will include a version number in its initial display. Generally any Python 3.x version will do, as Python makes every attempt to maintain backwards compatibility within major Python versions. Python 2.x and Python 3.x are intentionally not fully compatible. If python starts a Python 2.x interpreter, try entering python3 and see if an up to date version is already installed.

On Windows, try py first - this is the relatively recent Python Launcher, which has a better chance of avoiding some of the path problems that might occur because on Windows programs don't install into any of the small set of common locations that are searched by default. The Python launcher can also let you select any of the various versions you may have installed from a single command.

If you need to install Python, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Please see the Python downloads page for the most up to date versions of Python. They are available via the yellow download buttons on that page.

Windows

The most stable Windows downloads are available from the Python for Windows page. On Windows you have a choice between 32-bit (labeled x86) and and 64-bit (labeled x86-64) versions, and several flavors of installer for each. The Python core team thinks there should be a default you don't have to stop and think about, so the yellow download button on the main download page gets you the "x86 executable installer" choice. This is actually a fine choice: you don't need the 64-bit version even if you have 64-bit Windows, the 32-bit Python will work just fine.

If you're running Windows XP: a complete guide to installing ActivePython is at Python on XP: 7 Minutes To "Hello World!". ShowMeDo has two videos for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, ActivePython and SciPy distributions. Note that the python.org releases only support versions of Windows that are supported by Microsoft (at the time of the release), so no recent release from python.org can be used on WIndows XP.

Mac

See the Python for Mac OS X page. MacOS from 10.2 (Jaguar) to 10.15 (Catalina) includes a system version of Python 2, but it is best not to consider this the Python to use for your programming tasks - install a current Python 3.x version instead. MacOS after 10.15 (Catalina) will not include a default system Python.

Linux

For Red Hat, CentOS or Fedora, install the python3 and python3-devel packages.

For Debian or Ubuntu, install the python3.x and python3.x-dev packages.

For Gentoo, install the '=python-3.x*' ebuild (you may have to unmask it first).

For other systems, or if you want to install from source, see the general download page.

How do I install Python 3 on my computer?

3 at the time of writing this article..
Step 1: Download the Python Installer binaries. Open the official Python website in your web browser. ... .
Step 2: Run the Executable Installer. Once the installer is downloaded, run the Python installer. ... .
Step 3: Add Python to environmental variables. ... .
Step 4: Verify the Python Installation..

How do I download and install Python?

On the web browser, in the official site of python (www.python.org), move to the Download for Windows section. All the available versions of Python will be listed. Select the version required by you and click on Download.

How do I download Python 3.8 3 on Windows?

The first step is to head over to the download page of the Python website, then scroll down and click on the download button for “Python 3.8. 3.” Once you have downloaded the python-3.8. 3.exe file, then open the program.

How do I install Python 3.8 3 on Windows 10?

Website link..
Click the download button and you will see Python 3.8. ... .
Click Python 3.8. ... .
Next, right click the mouse button you will see open button click to open..
Enable to add Python 3.8 to path and click install now..
Wait a few minutes and display setup was successful..