1Install Dependencies
2++++++++++++++++++++
3
4#. Clone python-docs-samples and change directory to the sample directory you want to use.
5
6    .. code-block:: bash
7
8        $ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
9
10#. Install `pip`_ and `virtualenv`_ if you do not already have them. You may want to refer to the `Python Development Environment Setup Guide`_ for Google Cloud Platform for instructions.
11
12   .. _Python Development Environment Setup Guide:
13       https://cloud.google.com/python/setup
14
15#. Create a virtualenv. Samples are compatible with Python 3.6+.
16
17    .. code-block:: bash
18
19        $ virtualenv env
20        $ source env/bin/activate
21
22#. Install the dependencies needed to run the samples.
23
24    .. code-block:: bash
25
26        $ pip install -r requirements.txt
27
28.. _pip: https://pip.pypa.io/
29.. _virtualenv: https://virtualenv.pypa.io/
30