- 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:
- Open the Finder app.
- Navigate to the Applications folder, and then go into the Utilities folder.
- Open the Terminal app.
- 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.
推薦閱讀
- Web程序設計及應用
- 深入淺出Windows API程序設計:編程基礎篇
- 編寫高質量代碼:改善C程序代碼的125個建議
- Internet of Things with Intel Galileo
- 算法訓練營:提高篇(全彩版)
- 數(shù)據(jù)結構案例教程(C/C++版)
- 基于Struts、Hibernate、Spring架構的Web應用開發(fā)
- 交互設計師成長手冊:從零開始學交互
- Java Web動態(tài)網(wǎng)站開發(fā)(第2版·微課版)
- ASP.NET Core 2 High Performance(Second Edition)
- jQuery Essentials
- HTML5 and CSS3:Building Responsive Websites
- Scratch超人漫游記:創(chuàng)意程序設計:STEAM創(chuàng)新教育指南
- Activiti權威指南
- Java EE 8 Development with Eclipse