You must install Python 2.7.9 to run IBM®
QRadar® Application Framework SDK
on the OSX operating system.
About this task
OSX usually comes with Python 2.7.x. The QRadar app framework SDK requires
Python 2.7.9.
Procedure
-
To install the HomeBrew package manager, type this command:
ruby -e "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
To install the Python version manager, pyenv, type this command:
-
To use pyenv to install Python 2.7.9, type this command:
-
To check that Python 2.7.9 was installed correctly, type this command:
-
To use Python 2.7.9 locally, type this command:
-
To check your Python version, type this command:
If this command returns 2.7.9, the installation was successful.
If this command returns 2.7.x, it might indicate an issue with
pyenv. To solve this problem, open or create the
~/.bash_profile file in a text editor and add the following lines:
export PATH=/usr/local/bin:$PATH
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/shims:$PATH"
Type the python --version command to check that Python 2.7.9 was
installed.