{"action":"opened","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/5112","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/5112/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/5112/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/5112/events","html_url":"https://github.com/grpc/grpc/issues/5112","id":131818451,"number":5112,"title":"Python installation testing - Mac","user":{"login":"hsaliak","id":150108,"avatar_url":"https://avatars.githubusercontent.com/u/150108?v=3","gravatar_id":"","url":"https://api.github.com/users/hsaliak","html_url":"https://github.com/hsaliak","followers_url":"https://api.github.com/users/hsaliak/followers","following_url":"https://api.github.com/users/hsaliak/following{/other_user}","gists_url":"https://api.github.com/users/hsaliak/gists{/gist_id}","starred_url":"https://api.github.com/users/hsaliak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsaliak/subscriptions","organizations_url":"https://api.github.com/users/hsaliak/orgs","repos_url":"https://api.github.com/users/hsaliak/repos","events_url":"https://api.github.com/users/hsaliak/events{/privacy}","received_events_url":"https://api.github.com/users/hsaliak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/grpc/grpc/labels/python","name":"python","color":"2619ff"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/grpc/grpc/milestones/39","html_url":"https://github.com/grpc/grpc/milestones/2016/02/15%20Milestone","labels_url":"https://api.github.com/repos/grpc/grpc/milestones/39/labels","id":1485398,"number":39,"title":"2016/02/15 Milestone","description":"","creator":{"login":"jayantkolhe","id":6886327,"avatar_url":"https://avatars.githubusercontent.com/u/6886327?v=3","gravatar_id":"","url":"https://api.github.com/users/jayantkolhe","html_url":"https://github.com/jayantkolhe","followers_url":"https://api.github.com/users/jayantkolhe/followers","following_url":"https://api.github.com/users/jayantkolhe/following{/other_user}","gists_url":"https://api.github.com/users/jayantkolhe/gists{/gist_id}","starred_url":"https://api.github.com/users/jayantkolhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayantkolhe/subscriptions","organizations_url":"https://api.github.com/users/jayantkolhe/orgs","repos_url":"https://api.github.com/users/jayantkolhe/repos","events_url":"https://api.github.com/users/jayantkolhe/events{/privacy}","received_events_url":"https://api.github.com/users/jayantkolhe/received_events","type":"User","site_admin":false},"open_issues":107,"closed_issues":74,"state":"open","created_at":"2016-01-05T17:39:05Z","updated_at":"2016-02-06T04:34:18Z","due_on":"2016-02-15T08:00:00Z","closed_at":null},"comments":0,"created_at":"2016-02-06T04:34:18Z","updated_at":"2016-02-06T04:34:18Z","closed_at":null,"body":"Requirements:\r\n\r\n```\r\npython 2.7\r\npip\r\n```\r\nPrerequisite steps:\r\n\r\n```\r\npip install enum34 futures six\r\npip install --pre protobuf>=3.0.0a3\r\n```\r\nNote: unfortunately, being on TestPyPI requires that our dependencies be installed separately. This will not be the case once we get on PyPI.\r\n\r\nPotential Pitfalls:\r\nThe --pre flag may not be necessary (or even available?) for some versions of pip. If pip whines about it, drop the flag.\r\n\r\nRequirements:\r\n\r\n- python-dev\r\n- gcc or clang\r\n\r\nIf a compiler and git is not available on the system, you need to run\r\n`  $ sudo xcode-select --install\r\n`\r\nSteps:\r\n`pip install -i https://testpypi.python.org/simple grpcio \r\n`\r\nTesting the installation\r\nLaunch a python interpreter and run\r\n\r\n```\r\n>> import grpc\r\n>> dir(grpc) \r\n```\r\nExit the interpreter..\r\n\r\nNext, try the hello world example.\r\n` git clone https://github.com/grpc/grpc\r\n`\r\nNavigate to the \"hello, world\" Python example:\r\n`$ cd grpc/examples/python/helloworld \r\n`\r\nRun the server\r\n\r\n`$ python2.7 greeter_server.py & \r\n`Run the client\r\n` $ python2.7 greeter_client.py\r\n`\r\nIf all goes well, you will receive the message:\r\n\r\n> Greeter client received: Hello, you!\r\n"}}