官术网_书友最值得收藏!

macOS

  1. For macOS you need to visit the official Python website at http://python.org. Head to the Download page by clicking the link on the left. On the Download page, find the macOS installer matching your version of macOS and click the link to download it.

  2. A DMG Disk Image file downloads, which you open from your Downloads
    stack or from the Finder.

  3. In the Finder window that opens you will see the file Python.mpkg
    multipackage installer file. Use the "secondary" click action to open the
    context menu for that file. From that menu, select Open.

  4. On some versions of macOS you will now be told that the file is from an
    unidentified developer. Press the Open button on this dialog to continue
    with the installation.

  5. You are now in the Python installer program. Follow the directions, clicking through the wizard.

  6. There is no need to customize the install, and you should keep the standard
    settings. When it's available, click the Install button to install Python.
    You may be asked for your password to authorize the installation. Once the
    installation completes click Close to close the installer.

  7. Now that Python 3 is installed, open a terminal window and verify that you
    can run Python 3 from the command line:

> python
Python 3.5.0 (default, Nov 3 2015, 13:17:02)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

Welcome to Python!

The triple arrow prompt shows that Python is waiting for your input.

主站蜘蛛池模板: 河北区| 玛沁县| 黑河市| 寿阳县| 云南省| 连城县| 安新县| 达尔| 大悟县| 宁安市| 车致| 大连市| 许昌县| 高唐县| 北京市| 志丹县| 胶州市| 莎车县| 山丹县| 阿巴嘎旗| 隆化县| 富锦市| 峨山| 颍上县| 南乐县| 杂多县| 宣汉县| 平利县| 昌吉市| 颍上县| 兰坪| 忻城县| 亳州市| 武安市| 措勤县| 涟源市| 清河县| 南江县| 城步| 尚义县| 永丰县|