docs: recommend install with virtualenv by busunkim96 · Pull Request #768 · googleapis/google-api-python-client
Expand Up
@@ -16,16 +16,30 @@ For Google Cloud Platform APIs such as Datastore, Cloud Storage or Pub/Sub, we r
## Installation
To install, simply use `pip` or `easy_install`: Install this library in a [virtualenv](https://virtualenv.pypa.io/en/latest/) using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
### Mac/Linux
```bash pip install --upgrade google-api-python-client ``` pip install virtualenv virtualenv <your-env> source <your-env>/bin/activate <your-env>/bin/pip install google-api-python-client ```
or ### Windows
```bash easy_install --upgrade google-api-python-client ``` pip install virtualenv virtualenv <your-env> <your-env>\Scripts\activate <your-env>\Scripts\pip.exe install google-api-python-client ```
## Supported Python Versions Expand Down
## Installation
To install, simply use `pip` or `easy_install`: Install this library in a [virtualenv](https://virtualenv.pypa.io/en/latest/) using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it's possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
### Mac/Linux
```bash pip install --upgrade google-api-python-client ``` pip install virtualenv virtualenv <your-env> source <your-env>/bin/activate <your-env>/bin/pip install google-api-python-client ```
or ### Windows
```bash easy_install --upgrade google-api-python-client ``` pip install virtualenv virtualenv <your-env> <your-env>\Scripts\activate <your-env>\Scripts\pip.exe install google-api-python-client ```
## Supported Python Versions Expand Down