@@ -36,21 +36,24 @@ In order to use this library, you first need to go through the following steps:
3636Installation
3737~~~~~~~~~~~~
3838
39- Install this library in a `virtualenv `_ using pip. `virtualenv `_ is a tool to
40- create isolated Python environments. The basic problem it addresses is one of
41- dependencies and versions, and indirectly permissions.
39+ Install this library in a virtual environment using `venv `_. `venv `_ is a tool that
40+ creates isolated Python environments. These isolated environments can have separate
41+ versions of Python packages, which allows you to isolate one project's dependencies
42+ from the dependencies of other projects.
4243
43- With `virtualenv `_, it's possible to install this library without needing system
44+ With `venv `_, it's possible to install this library without needing system
4445install permissions, and without clashing with the installed system
4546dependencies.
4647
47- .. _`virtualenv ` : https://virtualenv.pypa.io/en/latest/
48+ .. _`venv ` : https://docs.python.org/3/library/venv.html
4849
4950
5051Code samples and snippets
5152~~~~~~~~~~~~~~~~~~~~~~~~~
5253
53- Code samples and snippets live in the `samples/ ` folder.
54+ Code samples and snippets live in the `samples/ `_ folder.
55+
56+ .. _samples/ : https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-tpu/samples
5457
5558
5659Supported Python Versions
@@ -77,21 +80,19 @@ Mac/Linux
7780
7881.. code-block :: console
7982
80- pip install virtualenv
81- virtualenv <your-env>
83+ python3 -m venv <your-env>
8284 source <your-env>/bin/activate
83- <your-env>/bin/ pip install google-cloud-tpu
85+ pip install google-cloud-tpu
8486
8587
8688 Windows
8789^^^^^^^
8890
8991.. code-block :: console
9092
91- pip install virtualenv
92- virtualenv <your-env>
93- <your-env>\Scripts\activate
94- <your-env>\Scripts\pip.exe install google-cloud-tpu
93+ py -m venv <your-env>
94+ .\<your-env>\Scripts\activate
95+ pip install google-cloud-tpu
9596
9697 Next Steps
9798~~~~~~~~~~
0 commit comments