macOS Guide¶
We will see in this quick tutorial how to install all the prerequisites necessary for installing Genropy starting completely from scratch.
Install homebrew¶
macOS already has a version of Python pre-installed. We strongly recommend not using that one, but instead installing one using homebrew: a handy package manager.
You can install homebrew by running the site’s documentation, although it all boils down to running the following command:
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
Install Python¶
Once homebrew is installed you can install Python using the command:
brew install python
pip¶
pip is the Python installer package, if you have installed correctly via homebrew, it will already be present and ready for use.
So from now on if you need to install Python libraries you can use the command:
pip package_name install
git¶
We suggest you also install git via homebrew:
brew install git
At this point you should be able to proceed with the installation of Genropy