安装Python

Installing Python

Hi there! These instructions will walk you through all of the steps needed to install Python onto your computer. This particular page contains instructions for Windows.

If you have a Mac, please click Next or otherwise navigate to the next page in order to find instructions for your particular platform!

  1. Navigate to the Python downloads page that indexes downloads for the most recent versions of Python. This course was designed with Python 2 in mind so select that download.

  2. Download the Windows x86 MSI installer. If you're sure that your machine runs a 64-bit version of Windows, feel free to download the Windows x86-64 MSI installer instead.

  3. Once the download is finished, locate the file (it'll probably be in your Downloads directory) and run it. Note: the images below show Python 2.7.9, but the process is the same for newer versions.

  4. Follow the installation wizard. Let Python install to its default directory, C:\Python27\.

  5. Ensure that both pip is installed and that Python is added to your PATH.

  6. To confirm that your installation was successful, open IDLE, a program installed by Python that makes it easy to edit and run Python code.

    a) Windows 7 (or earlier): Use the Start Menu to go to All Programs, then Python 2.7, and, finally, IDLE (Python GUI).

    b) Windows 8: Search for IDLE. Currently, you can search by swiping from the right edge of the screen or by using the lower-right corner of your screen if you have a mouse.

  7. Hooray, you're done!

转载于:https://my.oschina.net/donngchao/blog/749500

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值