

If you’d prefer to just have Python 3.x installed globally throughout your operating system, then type: pyenv global 3.x.x Step 4 - Install Jupyter If you only want to use Python 3.x for a specific project, then cd to your specific directory and type: pyenv local 3.x.x echo 'eval "$(pyenv init -)"' > ~/.bash_profile Step 3 - Set Python to Local or Global You’ll also need to configure your ~/.bash_profile. You can see a list of version from Python Website. brew install pyenv Step 2 - Install Python

This will allow you to install any version of Python you'd like.įirst update Homebrew package manager. Therefore, it’s recommended you start using Python 3 and the best way to do that is to first install pyenv version manager. Mac Os X come with Pythong 2.7 pre-installed but many Machine Learning packages are progressing to Python 3.x. usr/bin/ruby -e "$(curl -fsSL )" Step 1 - Install pyenv Open up Terminal and type: xcode-select -install Install Mac OS X command line tools so that you can then install the Homebrew package manager. Unfortunately, Mac doesn’t offer one by default so we’ll use Homebrew The simplest way to install various Unix tools and open source projects onto Mac is via a package manager. The steps below shows how to install Jupyter: Step 0 - Install Homebrew These programming languages were the first target languages of the Jupyter application, but nowadays, the notebook technology also supports many other languages The Jupyter Notebook App produces these documents.įor now, you should know that “Jupyter” is a loose acronym meaning Julia, Python, and R.

In this case, “notebook” or “notebook documents” denote documents that contain both code and rich text elements, such as figures, links, equations, … Because of the mix of code and text elements, these documents are the ideal place to bring together an analysis description, and its results, as well as, they can be executed perform the data analysis in real time.
