Python is another popular scripting language. This recipe is about installing the Python pyhs
client library for HandlerSocket so that we can use it in our scripts.
Install the libhsclient
library as described in the Installing the libhsclient library recipe earlier in this chapter.
We need to also install the mercurial
and python-setuptools
packages so that we can get the latest copy of the pyhs
source code and install it.
On Red Hat, Fedora, or CentOS, run the following command:
sudo yum install mercurial python-setuptools
On Debian or Ubuntu, run the following command:
sudo apt-get install mercurial python-setuptools
We are now ready to install the HandlerSocket client libraries for Python.