1. Download and run the installer, select “Install for all users,” and then click “Next.” On the directory selection screen, leave the directory as “Python27” and click “Next.” On the customization screen, scroll down, click “Add python.exe to Path,” and then select “Will be installed on local hard drive.”.
  2. Step 2: Configure Python on Windows 10. In order to configure Python on your Windows 10 machine, you need to initiate the installation. So go ahead and locate the executable setup file which you just downloaded. Right click on it and select “Run as Administrator”. Doing that will open up the Setup wizard.

Looking for a specific release?

Python releases by version number:

  1. Python 3.7.4July 8, 2019 DownloadRelease Notes
  2. Python 3.6.9July 2, 2019 DownloadRelease Notes
  3. Python 3.7.3March 25, 2019 DownloadRelease Notes
  4. Python 3.4.10March 18, 2019 DownloadRelease Notes
  5. Python 3.5.7March 18, 2019 DownloadRelease Notes
  6. Python 2.7.16March 4, 2019 DownloadRelease Notes
  7. Python 3.7.2Dec. 24, 2018 DownloadRelease Notes
  8. Python 3.6.8Dec. 24, 2018 DownloadRelease Notes
  9. Python 3.7.1Oct. 20, 2018 DownloadRelease Notes
  10. Python 3.6.7Oct. 20, 2018 DownloadRelease Notes
  11. Python 3.5.6Aug. 2, 2018 DownloadRelease Notes
  12. Python 3.4.9Aug. 2, 2018 DownloadRelease Notes
  13. Python 3.7.0June 27, 2018 DownloadRelease Notes
  14. Python 3.6.6June 27, 2018 DownloadRelease Notes
  15. Python 2.7.15May 1, 2018 DownloadRelease Notes
  16. Python 3.6.5March 28, 2018 DownloadRelease Notes
  17. Python 3.4.8Feb. 5, 2018 DownloadRelease Notes
  18. Python 3.5.5Feb. 5, 2018 DownloadRelease Notes
  19. Python 3.6.4Dec. 19, 2017 DownloadRelease Notes
  20. Python 3.6.3Oct. 3, 2017 DownloadRelease Notes
  21. Python 3.3.7Sept. 19, 2017 DownloadRelease Notes
  22. Python 2.7.14Sept. 16, 2017 DownloadRelease Notes
  23. Python 3.4.7Aug. 9, 2017 DownloadRelease Notes
  24. Python 3.5.4Aug. 8, 2017 DownloadRelease Notes
  25. Python 3.6.2July 17, 2017 DownloadRelease Notes
  26. Python 3.6.1March 21, 2017 DownloadRelease Notes
  27. Python 3.4.6Jan. 17, 2017 DownloadRelease Notes
  28. Python 3.5.3Jan. 17, 2017 DownloadRelease Notes
  29. Python 3.6.0Dec. 23, 2016 DownloadRelease Notes
  30. Python 2.7.13Dec. 17, 2016 DownloadRelease Notes
  31. Python 3.4.5June 27, 2016 DownloadRelease Notes
  32. Python 3.5.2June 27, 2016 DownloadRelease Notes
  33. Python 2.7.12June 25, 2016 DownloadRelease Notes
  34. Python 3.4.4Dec. 21, 2015 DownloadRelease Notes
  35. Python 3.5.1Dec. 7, 2015 DownloadRelease Notes
  36. Python 2.7.11Dec. 5, 2015 DownloadRelease Notes
  37. Python 3.5.0Sept. 13, 2015 DownloadRelease Notes
  38. Python 2.7.10May 23, 2015 DownloadRelease Notes
  39. Python 3.4.3Feb. 25, 2015 DownloadRelease Notes
  40. Python 2.7.9Dec. 10, 2014 DownloadRelease Notes
  41. Python 3.4.2Oct. 13, 2014 DownloadRelease Notes
  42. Python 3.3.6Oct. 12, 2014 DownloadRelease Notes
  43. Python 3.2.6Oct. 12, 2014 DownloadRelease Notes
  44. Python 2.7.8July 2, 2014 DownloadRelease Notes
  45. Python 2.7.7June 1, 2014 DownloadRelease Notes
  46. Python 3.4.1May 19, 2014 DownloadRelease Notes
  47. Python 3.4.0March 17, 2014 DownloadRelease Notes
  48. Python 3.3.5March 9, 2014 DownloadRelease Notes
  49. Python 3.3.4Feb. 9, 2014 DownloadRelease Notes
  50. Python 3.3.3Nov. 17, 2013 DownloadRelease Notes
  51. Python 2.7.6Nov. 10, 2013 DownloadRelease Notes
  52. Python 2.6.9Oct. 29, 2013 DownloadRelease Notes
  53. Python 3.3.2May 15, 2013 DownloadRelease Notes
  54. Python 3.2.5May 15, 2013 DownloadRelease Notes
  55. Python 2.7.5May 12, 2013 DownloadRelease Notes
  56. Python 3.2.4April 6, 2013 DownloadRelease Notes
  57. Python 2.7.4April 6, 2013 DownloadRelease Notes
  58. Python 3.3.1April 6, 2013 DownloadRelease Notes
  59. Python 3.3.0Sept. 29, 2012 DownloadRelease Notes
  60. Python 2.6.8April 10, 2012 DownloadRelease Notes
  61. Python 3.2.3April 10, 2012 DownloadRelease Notes
  62. Python 2.7.3April 9, 2012 DownloadRelease Notes
  63. Python 3.1.5April 9, 2012 DownloadRelease Notes
  64. Python 3.2.2Sept. 3, 2011 DownloadRelease Notes
  65. Python 3.2.1July 9, 2011 DownloadRelease Notes
  66. Python 2.7.2June 11, 2011 DownloadRelease Notes
  67. Python 3.1.4June 11, 2011 DownloadRelease Notes
  68. Python 2.6.7June 3, 2011 DownloadRelease Notes
  69. Python 2.5.6May 26, 2011 DownloadRelease Notes
  70. Python 3.2.0Feb. 20, 2011 DownloadRelease Notes
  71. Python 2.7.1Nov. 27, 2010 DownloadRelease Notes
  72. Python 3.1.3Nov. 27, 2010 DownloadRelease Notes
  73. Python 2.6.6Aug. 24, 2010 DownloadRelease Notes
  74. Python 2.7.0July 3, 2010 DownloadRelease Notes
  75. Python 3.1.2March 20, 2010 DownloadRelease Notes
  76. Python 2.6.5March 18, 2010 DownloadRelease Notes
  77. Python 2.5.5Jan. 31, 2010 DownloadRelease Notes
  78. Python 2.6.4Oct. 26, 2009 DownloadRelease Notes
  79. Python 2.6.3Oct. 2, 2009 DownloadRelease Notes
  80. Python 3.1.1Aug. 17, 2009 DownloadRelease Notes
  81. Python 3.1.0June 26, 2009 DownloadRelease Notes
  82. Python 2.6.2April 14, 2009 DownloadRelease Notes
  83. Python 3.0.1Feb. 13, 2009 DownloadRelease Notes
  84. Python 2.5.4Dec. 23, 2008 DownloadRelease Notes
  85. Python 2.4.6Dec. 19, 2008 DownloadRelease Notes
  86. Python 2.5.3Dec. 19, 2008 DownloadRelease Notes
  87. Python 2.6.1Dec. 4, 2008 DownloadRelease Notes
  88. Python 3.0.0Dec. 3, 2008 DownloadRelease Notes
  89. Python 2.6.0Oct. 2, 2008 DownloadRelease Notes
  90. Python 2.4.5March 11, 2008 DownloadRelease Notes
  91. Python 2.3.7March 11, 2008 DownloadRelease Notes
  92. Python 2.5.2Feb. 21, 2008 DownloadRelease Notes
  93. Python 2.5.1April 19, 2007 DownloadRelease Notes
  94. Python 2.3.6Nov. 1, 2006 DownloadRelease Notes
  95. Python 2.4.4Oct. 18, 2006 DownloadRelease Notes
  96. Python 2.5.0Sept. 19, 2006 DownloadRelease Notes
  97. Python 2.4.3April 15, 2006 DownloadRelease Notes
  98. Python 2.4.2Sept. 27, 2005 DownloadRelease Notes
  99. Python 2.4.1March 30, 2005 DownloadRelease Notes
  100. Python 2.3.5Feb. 8, 2005 DownloadRelease Notes
  101. Python 2.4.0Nov. 30, 2004 DownloadRelease Notes
  102. Python 2.3.4May 27, 2004 DownloadRelease Notes
  103. Python 2.3.3Dec. 19, 2003 DownloadRelease Notes
  104. Python 2.3.2Oct. 3, 2003 DownloadRelease Notes
  105. Python 2.3.1Sept. 23, 2003 DownloadRelease Notes
  106. Python 2.3.0July 29, 2003 DownloadRelease Notes
  107. Python 2.2.3May 30, 2003 DownloadRelease Notes
  108. Python 2.2.2Oct. 14, 2002 DownloadRelease Notes
  109. Python 2.2.1April 10, 2002 DownloadRelease Notes
  110. Python 2.1.3April 9, 2002 DownloadRelease Notes
  111. Python 2.2.0Dec. 21, 2001 DownloadRelease Notes
  112. Python 2.0.1June 22, 2001 DownloadRelease Notes

Install Python Windows 10 Path

View older releases

Note that Python 3.5.6 cannot be used on Windows XP or earlier. No files for this release. Python 3.4.9 - Aug. No files for this release. Python 3.7.0 - June 27, 2018. Note that Python 3.7.0 cannot be used on Windows XP or earlier. Download Windows help file; Download Windows x86-64 embeddable zip file; Download Windows x86-64.

Licenses

All Python releases are Open Source. Historically, most, but not all, Python releases have also been GPL-compatible. The Licenses page details GPL-compatibility and Terms and Conditions.

Sources

For most Unix systems, you must download and compile the source code. The same source code archive can also be used to build the Windows and Mac versions, and is the starting point for ports to all other platforms.

Download the latest Python 3 and Python 2 source.

Alternative Implementations

This site hosts the 'traditional' implementation of Python (nicknamed CPython). A number of alternative implementations are available as well.

History

Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum in the Netherlands as a successor of a language called ABC. Guido remains Python’s principal author, although it includes many contributions from others.

Release Schedules

Information about specific ports, and developer info

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:

  • Steve Dower (Windows binaries) (key id: FC62 4643 4870 34E5)
  • Łukasz Langa (3.8.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:

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:

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.

Install Pip Windows

Want to contribute?

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

Python doesn’t come prepackaged with Windows, but that doesn’t mean Windows users won’t find the flexible programming language useful. It’s not quite a simple as installing the newest version however, so let’s make sure you get the right tools for the task at hand.

First released in 1991, Python is a popular high-level programming language used for general purpose programming. Thanks to a design philosophy that emphasizes readability it has long been a favorite of hobby coders and serious programmers alike. Not only is it an easy language (comparatively speaking, that is) to pick up but you’ll find thousands of projects online that require you have Python installed to use the program.

Which Version Do You Need?

Unfortunately, there was a significant update to Python several years ago that created a big split between Python versions. This can make things a bit confusing to newcomers, but don’t worry. We’ll walk you through installing both major versions

When you visit the Python for Windows download page, you’ll immediately see the division. Right at the top, square and center, the repository asks if you want the latest release of Python 2 or Python 3 (2.7.13 and 3.6.1, respectively, as of this tutorial).

RELATED:Add Dungeons, Ruins, and Treasure Hunts to Your Minecraft World with MCDungeon

Newer is better, right? Maybe so, maybe not. The version you want depends on your end goal. Let’s say, for example, that you read our article about expanding your Minecraft world with MCDungeon and are excited to add cool stuff to your worlds. That project is coded in Python and requires Python 2.7—you can’t run the MCDungeon project with Python 3.6. In fact, if you’re exploring hobby projects like MCDungeon, you’ll find that nearly all of them use 2.7. If your goal is to get some project that ends in a “.py” extension up and running, then there’s a very, very good chance you’ll need 2.7 for it.

On the other hand, if you’re looking to actually learn Python, we recommend installing both versions side by side (which you can do with zero risk and only a tiny bit of setup hassle). This lets you work with the newest version of the language, but also run older Python scripts (and test backwards compatibility for newer projects). Comparing the two versions is an article unto itself, though, so we’ll defer to the Python project wiki where you can read their well written overview of the differences.

You can download just Python 2 or Python 3 if you’re sure you only need a particular version. We’re going the distance today and will be installing both of them, so we recommend you download both versions and do the same. Under the main entry for both versions you’ll see an “x86-64” installer, as seen below.

RELATED:What’s the Difference Between 32-bit and 64-bit Windows?

This installer will install the appropriate 32-bit or 64-bit version on your computer automatically (here’s some further reading if you want to know more about the differences between the two).

How to Install Python 2

Installing Python 2 is a snap, and unlike in years past, the installer will even set the path variable for you (something we’ll be getting into a bit later). Download and run the installer, select “Install for all users,” and then click “Next.”

On the directory selection screen, leave the directory as “Python27” and click “Next.”

On the customization screen, scroll down, click “Add python.exe to Path,” and then select “Will be installed on local hard drive.” When you’re done, click “Next.”

You don’t have to make any more decisions after this point. Just click through the wizard to complete the installation. When the installation is finished, you can confirm the installation by opening up Command Prompt and typing the following command:

Success! If all you need is Python 2.7 for some project or another, you can stop right here. It’s installed, the path variable is set, and you’re off to the races.

How to Install Python 3

If you want to learn the newest version of Python, you’ll need to install Python 3. You can install it alongside Python 2.7 with no problems, so go ahead and download and run the installer now.

On the first screen, enable the “Add Python 3.6 to PATH” option and then click “Install Now.”

Next, you have a decision to make. Clicking the “Disable path length limit” option removes the limitation on the MAX_PATH variable. This change won’t break anything, but will allow Python to use long path names. Since many Python programmers are working in Linux and other *nix systems where path name length isn’t an issue, turning this on in advance can help smooth over any path-related issues you might have while working in Windows.

RELATED:How to Make Windows 10 Accept File Paths Over 260 Characters

Install Python Windows 10 64-bit

Install Python Windows 10

We recommend go ahead and selecting this option. If you know you don’t want to disable the path length limit, you can just click “Close” to finish the installation. And, if you want to read more about the issue before committing to the change, read up here.

If you’re only installing Python 3, you can use the same command line trick of typing python -v that we used above to check that it is installed correctly and the path variable is set. If you’re installing both versions, however, you need to make the quick tweak found in the following section.

Adjust System Variables So You Can Access Both Python Versions From the Command Line

This section of the tutorial is completely optional, but will allow you to quickly access both versions of Python from the command line. After installing both versions of Python, you may have noticed a little quirk. Even though we enabled the system path for both Python installations, typing “python” at the command prompt only points you to Python 2.7.

The reason for this is simple: the variable (whether automatically adjusted by an installer or manually tweaked) simply points at a directory, and every executable in that directory becomes a command line command. If there are two directories listed and both have a “python.exe” file in them, whichever directory is higher in the list of variables gets used. And, if there is a variable set for the system and the user, the system path takes precedence over the user path.

The latter is exactly what’s happening in this case: the Python 2 installer edited the system wide variable and the Python 3 installer added a user level variable—and we can confirm this by looking at the Windows’ environment variables.

Hit Start, type “advanced system settings,” and then select the “View advanced system settings” option. In the “System Properties” window that opens, on the “Advanced” tab, click the “Environment Variables” button.

Here, you can see Python 3 listed in the “User variables” section and Python 2 listed in the “System variables” section.

There are a few ways you can remedy this situation. The simplest (albeit the one with the least functionality) is to just remove the entry for the version of Python you plan on using the least. While that’s simple, it’s also not very much fun. Instead we can make another change that will give us access to “python” for Python 2 and “python3” for Python 3.

To do this, fire up File Manager and head to the folder where you installed Python 3 (C:Users[username]AppDataLocalProgramsPythonPython36 by default). Make a copy of the “python.exe” file, and rename that copy (not the original) to “python3.exe”.

Open a new command prompt (the environmental variables refresh with each new command prompt you open), and type “python3 –version”.

Boom! You can now use the “python” command at the Command Prompt when you want to use Python 2.7 and the “python3” command when you want to use Python 3.

RELATED:How to Edit Your System PATH for Easy Command Line Access in Windows

If, for whatever reason, you don’t find this a satisfactory solution, you can always reorder the environmental variables. Be sure to brush up with our tutorial first if you’re not comfortable editing those variables.

Please note, however, that regardless of which method you use it is important to leave the original python.exe intact as the applications in the /scripts/ subdirectory for both versions of Python rely on that filename and will fail if it is missing.

Install Opencv Python Windows 10

After a little installing and a little tweaking, you have both versions installed and you’re ready for whatever Python project you want to tackle.

READ NEXT

Install Python Windows 10 Pip

  • › How to Create a Local Account While Setting Up Windows 10
  • › What Is Windows 10X, and How Is It Different?
  • › How to Delete Apps on an iPhone or iPad With iOS 13
  • › How to Merge Multiple Google Drive and Google Photos Accounts
  • › How to Edit Any Web Page in Chrome (or Any Browser)