170 lines
12 KiB
HTML
170 lines
12 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
|
||
|
|
<meta name="robots" content="index,nofollow">
|
||
|
|
|
||
|
|
<title>BeginnersGuide/Download - Python Wiki</title>
|
||
|
|
<script type="text/javascript" src="/wiki/common/js/common.js"></script>
|
||
|
|
|
||
|
|
<script type="text/javascript">
|
||
|
|
<!--
|
||
|
|
var search_hint = "Search";
|
||
|
|
//-->
|
||
|
|
</script>
|
||
|
|
|
||
|
|
|
||
|
|
<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wiki/europython/css/common.css">
|
||
|
|
<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/wiki/europython/css/screen.css">
|
||
|
|
<link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/wiki/europython/css/print.css">
|
||
|
|
<link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/wiki/europython/css/projection.css">
|
||
|
|
|
||
|
|
<!-- css only for MS IE6/IE7 browsers -->
|
||
|
|
<!--[if lt IE 8]>
|
||
|
|
<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/wiki/europython/css/msie.css">
|
||
|
|
<![endif]-->
|
||
|
|
|
||
|
|
|
||
|
|
<link rel="alternate" title="Python Wiki: BeginnersGuide/Download" href="/moin/BeginnersGuide/Download?diffs=1&show_att=1&action=rss_rc&unique=0&page=BeginnersGuide%2FDownload&ddiffs=1" type="application/rss+xml">
|
||
|
|
|
||
|
|
|
||
|
|
<link rel="Start" href="/moin/FrontPage">
|
||
|
|
<link rel="Alternate" title="Wiki Markup" href="/moin/BeginnersGuide/Download?action=raw">
|
||
|
|
<link rel="Alternate" media="print" title="Print View" href="/moin/BeginnersGuide/Download?action=print">
|
||
|
|
<link rel="Up" href="/moin/BeginnersGuide">
|
||
|
|
<link rel="Search" href="/moin/FindPage">
|
||
|
|
<link rel="Index" href="/moin/TitleIndex">
|
||
|
|
<link rel="Glossary" href="/moin/WordIndex">
|
||
|
|
<link rel="Help" href="/moin/HelpOnFormatting">
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body lang="en" dir="ltr">
|
||
|
|
|
||
|
|
<div id="header">
|
||
|
|
|
||
|
|
<form id="searchform" method="get" action="/moin/BeginnersGuide/Download">
|
||
|
|
<div>
|
||
|
|
<input type="hidden" name="action" value="fullsearch">
|
||
|
|
<input type="hidden" name="context" value="180">
|
||
|
|
<label for="searchinput">Search:</label>
|
||
|
|
<input id="searchinput" type="text" name="value" value="" size="20"
|
||
|
|
onfocus="searchFocus(this)" onblur="searchBlur(this)"
|
||
|
|
onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search">
|
||
|
|
<input id="titlesearch" name="titlesearch" type="submit"
|
||
|
|
value="Titles" alt="Search Titles">
|
||
|
|
<input id="fullsearch" name="fullsearch" type="submit"
|
||
|
|
value="Text" alt="Search Full Text">
|
||
|
|
</div>
|
||
|
|
</form>
|
||
|
|
<script type="text/javascript">
|
||
|
|
<!--// Initialize search form
|
||
|
|
var f = document.getElementById('searchform');
|
||
|
|
f.getElementsByTagName('label')[0].style.display = 'none';
|
||
|
|
var e = document.getElementById('searchinput');
|
||
|
|
searchChange(e);
|
||
|
|
searchBlur(e);
|
||
|
|
//-->
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<div id="logo"><a href="/moin/FrontPage"></a><a href="http://www.python.org"><img src="/wiki/europython/img/python-logo.gif" alt="Python" ></a><a name="logo"></a></div>
|
||
|
|
<div id="locationline">
|
||
|
|
|
||
|
|
|
||
|
|
<ul id="pagelocation">
|
||
|
|
<li><a href="/moin/BeginnersGuide">BeginnersGuide</a></li><li><a href="/moin/BeginnersGuide/Download">Download</a></li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<ul id="pagetrail">
|
||
|
|
<li><a href="/moin/BeginnersGuide/Download">BeginnersGuide/Download</a></li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="sidebar">
|
||
|
|
<div id="star">
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<div class="sidepanel">
|
||
|
|
|
||
|
|
<ul id="navibar">
|
||
|
|
<li class="wikilink"><a href="/moin/FrontPage">FrontPage</a></li><li class="wikilink"><a href="/moin/RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="/moin/FindPage">FindPage</a></li><li class="wikilink"><a href="/moin/HelpContents">HelpContents</a></li><li class="current"><a href="/moin/BeginnersGuide/Download">BeginnersGuide/Download</a></li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<div class="sidepanel">
|
||
|
|
<h1>Page</h1>
|
||
|
|
<ul class="editbar"><li><span class="disabled">Immutable Page</span></li><li class="toggleCommentsButton" style="display:none;"><a href="#" class="nbcomment" onClick="toggleComments();return false;">Comments</a></li><li><a class="nbinfo" href="/moin/BeginnersGuide/Download?action=info" rel="nofollow">Info</a></li><li><a class="nbattachments" href="/moin/BeginnersGuide/Download?action=AttachFile" rel="nofollow">Attachments</a></li><li>
|
||
|
|
<form class="actionsmenu" method="GET" action="/moin/BeginnersGuide/Download">
|
||
|
|
<div>
|
||
|
|
<label>More Actions:</label>
|
||
|
|
<select name="action"
|
||
|
|
onchange="if ((this.selectedIndex != 0) &&
|
||
|
|
(this.options[this.selectedIndex].disabled == false)) {
|
||
|
|
this.form.submit();
|
||
|
|
}
|
||
|
|
this.selectedIndex = 0;">
|
||
|
|
<option value="raw">Raw Text</option>
|
||
|
|
<option value="print">Print View</option>
|
||
|
|
<option value="refresh">Delete Cache</option>
|
||
|
|
<option value="show" disabled class="disabled">------------------------</option>
|
||
|
|
<option value="SpellCheck">Check Spelling</option>
|
||
|
|
<option value="LikePages">Like Pages</option>
|
||
|
|
<option value="LocalSiteMap">Local Site Map</option>
|
||
|
|
<option value="show" disabled class="disabled">------------------------</option>
|
||
|
|
<option value="RenamePage" disabled class="disabled">Rename Page</option>
|
||
|
|
<option value="DeletePage" disabled class="disabled">Delete Page</option>
|
||
|
|
<option value="show" disabled class="disabled">------------------------</option>
|
||
|
|
<option value="show" disabled class="disabled">------------------------</option>
|
||
|
|
<option value="show" disabled class="disabled">Remove Spam</option>
|
||
|
|
<option value="show" disabled class="disabled">Revert to this revision</option>
|
||
|
|
<option value="show" disabled class="disabled">------------------------</option>
|
||
|
|
<option value="SlideShow">SlideShow</option>
|
||
|
|
</select>
|
||
|
|
<input type="submit" value="Do">
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<script type="text/javascript">
|
||
|
|
<!--// Init menu
|
||
|
|
actionsMenuInit('More Actions:');
|
||
|
|
//-->
|
||
|
|
</script>
|
||
|
|
</form>
|
||
|
|
</li></ul>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<div class="sidepanel">
|
||
|
|
<h1>User</h1>
|
||
|
|
<ul id="username"><li><a href="/moin/BeginnersGuide/Download?action=login" id="login" rel="nofollow">Login</a></li></ul>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="page" lang="en" dir="ltr">
|
||
|
|
<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
|
||
|
|
<span class="anchor" id="line-1"></span><p class="line867">
|
||
|
|
<h2 id="Downloading_Python">Downloading Python</h2>
|
||
|
|
<span class="anchor" id="line-2"></span><p class="line874">Before you start, you will need Python on your computer. <span class="anchor" id="line-3"></span><span class="anchor" id="line-4"></span><p class="line862">Check whether you already have an up to date version of Python installed by entering <tt class="backtick">python</tt> 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 <tt class="backtick">python</tt> starts a Python 2.x interpreter, try entering <tt class="backtick">python3</tt> and see if an up to date version is already installed. <span class="anchor" id="line-5"></span><span class="anchor" id="line-6"></span><p class="line862">On Windows, try <tt class="backtick">py</tt> 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. <span class="anchor" id="line-7"></span><span class="anchor" id="line-8"></span><p class="line862">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 <a class="http" href="http://www.python.org/downloads/">Python downloads</a> page for the most up to date versions of Python. They are available via the yellow download buttons on that page. <span class="anchor" id="line-9"></span><span class="anchor" id="line-10"></span><p class="line867">
|
||
|
|
<h3 id="Windows">Windows</h3>
|
||
|
|
<span class="anchor" id="line-11"></span><p class="line862">The most stable Windows downloads are available from the <a class="https" href="https://www.python.org/downloads/windows/">Python for Windows</a> page. On Windows you have a choice between 32-bit (labeled <strong>x86</strong>) and and 64-bit (labeled <strong>x86-64</strong>) 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 <em>need</em> the 64-bit version even if you have 64-bit Windows, the 32-bit Python will work just fine. <span class="anchor" id="line-12"></span><span class="anchor" id="line-13"></span><p class="line867"><strong>If you're running Windows XP</strong>: a complete guide to installing <a href="/moin/ActivePython">ActivePython</a> is at <a class="http" href="http://www.richarddooling.com/index.php/2006/03/14/python-on-xp-7-minutes-to-hello-world/">Python on XP: 7 Minutes To "Hello World!"</a>. <a href="/moin/ShowMeDo">ShowMeDo</a> has <a class="http" href="http://showmedo.com/videos/series?name=pythonOzsvaldPyNewbieSeries">two videos</a> for downloading, installing and getting started with Python on a Windows XP machine - this series talks you through the Python, <a href="/moin/ActivePython">ActivePython</a> and <a href="/moin/SciPy">SciPy</a> 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. <span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867">
|
||
|
|
<h3 id="Mac">Mac</h3>
|
||
|
|
<span class="anchor" id="line-16"></span><p class="line862">See the <a class="https" href="https://www.python.org/downloads/mac-osx/">Python for Mac OS X</a> 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. <span class="anchor" id="line-17"></span><span class="anchor" id="line-18"></span><p class="line867">
|
||
|
|
<h3 id="Linux">Linux</h3>
|
||
|
|
<span class="anchor" id="line-19"></span><p class="line867"><strong>For Red Hat, CentOS or Fedora</strong>, install the python3 and python3-devel packages. <span class="anchor" id="line-20"></span><span class="anchor" id="line-21"></span><p class="line867"><strong>For Debian or Ubuntu</strong>, install the python3.x and python3.x-dev packages. <span class="anchor" id="line-22"></span><span class="anchor" id="line-23"></span><p class="line867"><strong>For Gentoo</strong>, install the '=python-3.x*' ebuild (you may have to unmask it first). <span class="anchor" id="line-24"></span><span class="anchor" id="line-25"></span><p class="line867"><strong>For other systems</strong>, or <strong>if you want to install from source</strong>, see the <a class="http" href="http://www.python.org/download/">general download page</a>. <span class="anchor" id="line-26"></span><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">BeginnersGuide/Download (last edited 2019-11-10 13:28:18 by <span title="MatsWichmann @ 209-188-119-117.taosnet.com[209.188.119.117]"><a href="/moin/MatsWichmann" title="MatsWichmann @ 209-188-119-117.taosnet.com[209.188.119.117]">MatsWichmann</a></span>)</p>
|
||
|
|
|
||
|
|
<div id="pagebottom"></div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
<div id="footer">
|
||
|
|
<ul id="credits">
|
||
|
|
<li><a href="http://moinmo.in/" title="This site uses the MoinMoin Wiki software.">MoinMoin Powered</a></li><li><a href="http://moinmo.in/Python" title="MoinMoin is written in Python.">Python Powered</a></li><li><a href="http://moinmo.in/GPL" title="MoinMoin is GPL licensed.">GPL licensed</a></li><li><a href="http://validator.w3.org/check?uri=referer" title="Click here to validate this page.">Valid HTML 4.01</a></li>
|
||
|
|
</ul>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
<p style="text-align: center; font-size: 85%"><a href="/moin/FrontPage#use">Unable to edit the page? See the FrontPage for instructions.</a></p></body>
|
||
|
|
</html>
|
||
|
|
|