- Hands-On Artificial Intelligence on Amazon Web Services
- Subhashini Tripuraneni Charles Song
- 162字
- 2021-06-24 12:48:43
Installing Python on macOS
While Python is pre-installed on macOS, that version of Python is 2.7. To install a newer version of Python, we recommend using a package manager for macOS called Homebrew. Homebrew is touted as the missing package manager for macOS; it simplifies the installation of many macOS software packages, including Python. To install Homebrew, follow the instructions on its website: https://brew.sh. At the time of writing, the command to install Homebrew in the Terminal is as follows:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Once Homebrew has been installed, we can install the latest Python and pip, the Python package management system, with the following commands in the Terminal prompt:
$ brew install python3
$ brew install pip3
Check whether the latest Python and pip version have been correctly linked on your system with the commands in the Terminal prompt:
$ python --version
$ pip --version
The outputs of these commands should state versions similar to 3.7+ and 18.0+, respectively.
- Word 2003、Excel 2003、PowerPoint 2003上機指導(dǎo)與練習
- Drupal 7 Multilingual Sites
- 群體智能與數(shù)據(jù)挖掘
- Spark大數(shù)據(jù)技術(shù)與應(yīng)用
- Lightning Fast Animation in Element 3D
- 影視后期編輯與合成
- Kubernetes for Serverless Applications
- 從零開始學(xué)SQL Server
- 學(xué)練一本通:51單片機應(yīng)用技術(shù)
- 西門子S7-1200/1500 PLC從入門到精通
- 納米集成電路制造工藝(第2版)
- 網(wǎng)頁設(shè)計與制作
- JSP網(wǎng)絡(luò)開發(fā)入門與實踐
- R Statistics Cookbook
- Microsoft 365 Mobility and Security:Exam Guide MS-101