Files
rk35xx-android14/external/python/google-api-python-client/scripts/readme-gen/templates/install_deps.tmpl.rst
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

30 lines
882 B
ReStructuredText

Install Dependencies
++++++++++++++++++++
#. Clone python-docs-samples and change directory to the sample directory you want to use.
.. code-block:: bash
$ git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
#. 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.
.. _Python Development Environment Setup Guide:
https://cloud.google.com/python/setup
#. Create a virtualenv. Samples are compatible with Python 3.6+.
.. code-block:: bash
$ virtualenv env
$ source env/bin/activate
#. Install the dependencies needed to run the samples.
.. code-block:: bash
$ pip install -r requirements.txt
.. _pip: https://pip.pypa.io/
.. _virtualenv: https://virtualenv.pypa.io/