- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 276字
- 2021-07-09 20:40:19
Installation on Mac OS
For Mac OS, you will get the installer from the site https://www.python.org/downloads/mac-osx/.
For the new Mac OS X, Sierra comes loaded with Python 2.7 and it's good for learning but the same cannot be used to develop advanced-level programs. You do not need to separately install Python on the new Mac OS X. However, a word of caution is that the version of Python packed with the Mac OS could be out of date and might require updating. If you still want to install a separate version, you can follow the simple steps mentioned as follows:
- First of all, you might require to install Xcode, Xcode is the IDE for platform and can be downloaded from the Apple appstore.
- Once Xcode is installed, you need to install the command-line tools, which can be installed by running the xcode-select --install command on the terminal found under /Applications/Utilities/, as shown in the following screenshot:

- A pop-up window appears with three different options as shown here:

- Once you click on Install and agree to their terms and conditions, the command-line tools will start to download and will be installed in few minutes depending on the Internet connection.
The next step in the process would be to install Homebrew, which is a package manager for Mac OS and handles the Python package. In order to install Homebrew, simply provide the following inputs to the terminal:
/usr/bin/ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
- To install the latest python2 version, simply type brew install python on the terminal:
$ brew install python
- R語言數據分析從入門到精通
- 簡單高效LATEX
- Mastering SVG
- JavaScript 網頁編程從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- NativeScript for Angular Mobile Development
- Linux網絡程序設計:基于龍芯平臺
- WebRTC技術詳解:從0到1構建多人視頻會議系統
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(入門與提高篇)
- Java Web開發就該這樣學
- Visual C#.NET Web應用程序設計
- Python Interviews
- Visual C++開發寶典
- Python機器學習與量化投資
- 軟件再工程:優化現有軟件系統的方法與最佳實踐
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)