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

  • Matplotlib 2.x By Example
  • Allen Yu Claire Chung Aldrin Yim
  • 164字
  • 2021-07-02 19:34:29

macOS

macOS comes with Python 2.7 installed. To ensure compatibility with the example code in this book, Python 3.4 or above is required, which is available for download from https://www.python.org/downloads/mac-osx/. You will be prompted by a graphical installation wizard when you run the downloaded installation package:

After completing the graphical installation steps, Python 3 can be accessed via these steps:

  1. Open the Finder app.
  2. Navigate to the Applications folder, and then go into the Utilities folder.
  3. Open the Terminal app.
  4. You will be prompted by the following message when you type python3 in the terminal:
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36 [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on Darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>
Some Python packages require requires Xcode Command Line Tools to compile properly. Xcode can be obtained from Mac App Store. To install the command line tools, enter the following command in Terminal: xcode-select --install and follow the installation prompts.
主站蜘蛛池模板: 涿鹿县| 全南县| 陆丰市| 平舆县| 体育| 汕头市| 怀安县| 会同县| 九寨沟县| 蓝山县| 若羌县| 泸西县| 客服| 麟游县| 扬州市| 秭归县| 鹤庆县| 门源| 桦甸市| 韶关市| 汝阳县| 唐河县| 弋阳县| 许昌市| 淮北市| 靖安县| 乌拉特前旗| 信丰县| 平塘县| 皋兰县| 临沧市| 井冈山市| 集安市| 巩留县| 余江县| 收藏| 陕西省| 田阳县| 吕梁市| 府谷县| 永嘉县|