There are two ways of installing the client library so that you can create a development environment. The first way is to download the source code and build:
$ git clone --recursive https://github.com/kubernetes-client/
python.git
$ cd python
$ python setup.py install
The second way is to download the package from the Python Package Index by using a package manager such as pip:
$ pip install kubernetes