Hi
Thank you for your answer.
When I do a git pull and git submodule update --init, both cpp and python should be at the HEAD right ?
That's what I did before getting stuck.
For clarity I did a clean install in a VM.
cd /opt
git clone
https://github.com/grpc/grpc.gitcd grpc
git submodule update --init
cd /opt/grpc/third_party/protobuf
./autogen.sh
./configure
make
make install
cd /opt/grpc
ldconfig
make
make install
Then:
CONFIG=opt tools/run_tests/build_python.sh 2.7
In the output of this command I didn't see errors but maybe I'm missing something ?
It didn't create a python2.7_virtual_environment directory in $GRPC_ROOT
So how am I supposed to use grpc in python ? According to the run_server.sh in examples/python/route_guide/ there should be such a directory.
The end of the output is pasted below:
Writing /tmp/easy_install-Kflf7j/snowballstemmer-1.2.0/setup.cfg
Running snowballstemmer-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Kflf7j/snowballstemmer-1.2.0/egg-dist-tmp-amJ1na
warning: no files found matching '*.py' under directory 'src'
zip_safe flag not set; analyzing archive contents...
Moving snowballstemmer-1.2.0-py2.7.egg to /opt/grpc/src/python/grpcio/.eggs
Installed /opt/grpc/src/python/grpcio/.eggs/snowballstemmer-1.2.0-py2.7.egg
Searching for docutils>=0.11
Reading
https://pypi.python.org/simple/docutils/Best match: docutils 0.12
Downloading
https://pypi.python.org/packages/source/d/docutils/docutils-0.12.tar.gz#md5=4622263b62c5c771c03502afa3157768Processing docutils-0.12.tar.gz
Writing /tmp/easy_install-IomLYZ/docutils-0.12/setup.cfg
Running docutils-0.12/setup.py -q bdist_egg --dist-dir /tmp/easy_install-IomLYZ/docutils-0.12/egg-dist-tmp-voE0fQ
warning: no files found matching 'MANIFEST'
warning: no files found matching '*' under directory 'extras'
warning: no previously-included files matching '.cvsignore' found under directory '*'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
docutils.parsers.rst.directives.misc: module references __file__
docutils.writers.docutils_xml: module references __path__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.latex2e.__init__: module references __file__
docutils.writers.odf_odt.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
creating /opt/grpc/src/python/grpcio/.eggs/docutils-0.12-py2.7.egg
Extracting docutils-0.12-py2.7.egg to /opt/grpc/src/python/grpcio/.eggs
Installed /opt/grpc/src/python/grpcio/.eggs/docutils-0.12-py2.7.egg
Searching for Pygments>=2.0
Reading
https://pypi.python.org/simple/Pygments/Best match: Pygments 2.0.2
Downloading
https://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz#md5=238587a1370d62405edabd0794b3ec4aProcessing Pygments-2.0.2.tar.gz
Writing /tmp/easy_install-LcWQo4/Pygments-2.0.2/setup.cfg
Running Pygments-2.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-LcWQo4/Pygments-2.0.2/egg-dist-tmp-V96ecD
creating /opt/grpc/src/python/grpcio/.eggs/Pygments-2.0.2-py2.7.egg
Extracting Pygments-2.0.2-py2.7.egg to /opt/grpc/src/python/grpcio/.eggs
Installed /opt/grpc/src/python/grpcio/.eggs/Pygments-2.0.2-py2.7.egg
Searching for Jinja2>=2.3
Reading
https://pypi.python.org/simple/Jinja2/Best match: Jinja2 2.8
Downloading
https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.8.tar.gz#md5=edb51693fe22c53cee5403775c71a99eProcessing Jinja2-2.8.tar.gz
Writing /tmp/easy_install-FFuUjY/Jinja2-2.8/setup.cfg
Running Jinja2-2.8/setup.py -q bdist_egg --dist-dir /tmp/easy_install-FFuUjY/Jinja2-2.8/egg-dist-tmp-CPw_7k
warning: no files found matching 'run-tests.py'
warning: no files found matching '*' under directory 'custom_fixers'
warning: no files found matching '*' under directory 'jinja2/testsuite/res'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
creating /opt/grpc/src/python/grpcio/.eggs/Jinja2-2.8-py2.7.egg
Extracting Jinja2-2.8-py2.7.egg to /opt/grpc/src/python/grpcio/.eggs
Installed /opt/grpc/src/python/grpcio/.eggs/Jinja2-2.8-py2.7.egg
Searching for six>=1.4
Reading
https://pypi.python.org/simple/six/Best match: six 1.10.0
Downloading
https://pypi.python.org/packages/source/s/six/six-1.10.0.tar.gz#md5=34eed507548117b2ab523ab14b2f8b55Processing six-1.10.0.tar.gz
Writing /tmp/easy_install-r29nLo/six-1.10.0/setup.cfg
Running six-1.10.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-r29nLo/six-1.10.0/egg-dist-tmp-7zVa3R
no previously-included directories found matching 'documentation/_build'
zip_safe flag not set; analyzing archive contents...
six: module references __path__
creating /opt/grpc/src/python/grpcio/.eggs/six-1.10.0-py2.7.egg
Extracting six-1.10.0-py2.7.egg to /opt/grpc/src/python/grpcio/.eggs
Installed /opt/grpc/src/python/grpcio/.eggs/six-1.10.0-py2.7.egg
Searching for pytz>=0a
Reading
https://pypi.python.org/simple/pytz/Best match: pytz 2015.7
Downloading
https://pypi.python.org/packages/2.7/p/pytz/pytz-2015.7-py2.7.egg#md5=f89213bbd728cb56e94ea4a4740737f3Processing pytz-2015.7-py2.7.egg
Moving pytz-2015.7-py2.7.egg to /opt/grpc/src/python/grpcio/.eggs
Installed /opt/grpc/src/python/grpcio/.eggs/pytz-2015.7-py2.7.egg
Searching for MarkupSafe
Reading
https://pypi.python.org/simple/MarkupSafe/Best match: MarkupSafe 0.23
Downloading
https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-0.23.tar.gz#md5=f5ab3deee4c37cd6a922fb81e730da6eProcessing MarkupSafe-0.23.tar.gz
Writing /tmp/easy_install-anVOIL/MarkupSafe-0.23/setup.cfg
Running MarkupSafe-0.23/setup.py -q bdist_egg --dist-dir /tmp/easy_install-anVOIL/MarkupSafe-0.23/egg-dist-tmp-dq0bgE
creating /opt/grpc/src/python/grpcio/.eggs/MarkupSafe-0.23-py2.7-linux-x86_64.egg
Extracting MarkupSafe-0.23-py2.7-linux-x86_64.egg to /opt/grpc/src/python/grpcio/.eggs
Installed /opt/grpc/src/python/grpcio/.eggs/MarkupSafe-0.23-py2.7-linux-x86_64.egg