Skip to content

Commit 30eb314

Browse files
Merge pull request grpc#5279 from stanley-cheung/fix-python-example-docs
Update README.md with new installation flow
2 parents 5a80ac3 + e8130a1 commit 30eb314

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

examples/python/README.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,18 @@ Background
66
For this sample, we've already generated the server and client stubs from
77
[helloworld.proto][] and we'll be using a specific reference platform.
88

9-
Prerequisites
10-
-------------
11-
12-
- Debian 8.2 "Jessie" platform with `root` access
13-
- `git`
14-
- `python2.7`
15-
- `pip`
16-
- Python development headers
179

18-
Set-up
19-
-------
10+
Install gRPC:
2011
```sh
21-
$ # install the gRPC Core:
22-
$ sudo apt-get install libgrpc-dev
23-
$ # install gRPC Python:
24-
$ sudo pip install -U grpcio==0.11.0b1
25-
$ # Since this "hello, world" example uses protocol buffers:
26-
$ sudo pip install -U protobuf==3.0.0a3
12+
$ pip install grpcio
13+
```
14+
Or, to install it system wide:
15+
```sh
16+
$ sudo pip install grpcio
17+
```
18+
19+
Download the example
20+
```sh
2721
$ # Clone the repository to get the example code:
2822
$ git clone https://github.com/grpc/grpc
2923
$ # Navigate to the "hello, world" Python example:

0 commit comments

Comments
 (0)