Installing Prerequisites error with tensorRT_yolo

Hi,
I tried to do tensorRT_yolo sample in /usr/src/tensorrt/samples/python/yolov3_onnx
When I executed:
python2 -m pip install -r requirements.txt

the output show:

Collecting numpy>=1.15.1 (from -r requirements.txt (line 1))
Collecting onnx (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/59/09/61f817a530cd9b9bd0e289bc9cda46f662fcda4dc1bd687b36d45365e3ea/onnx-1.4.1.tar.gz
Collecting pycuda>=2017.1.1 (from -r requirements.txt (line 3))
Collecting Pillow>=5.2.0 (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz
Collecting wget>=3.2 (from -r requirements.txt (line 5))
Collecting protobuf (from onnx->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/f5/e4/7c86c9c9b4bad7632e107064fb07d0812b9858a49830d0b2477081bf1267/protobuf-3.7.1-py2.py3-none-any.whl
Collecting six (from onnx->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting typing>=3.6.4 (from onnx->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/cc/3e/29f92b7aeda5b078c86d14f550bf85cff809042e3429ace7af6193c3bc9f/typing-3.6.6-py2-none-any.whl
Collecting typing-extensions>=3.6.2.1 (from onnx->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/69/60/84116ab2840fda8414cbc92c2a63adfa71e9bafb2d305b467fadb20ec2a8/typing_extensions-3.7.2-py2-none-any.whl
Collecting mako (from pycuda>=2017.1.1->-r requirements.txt (line 3))
Collecting decorator>=3.2.0 (from pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Collecting pytools>=2011.2 (from pycuda>=2017.1.1->-r requirements.txt (line 3))
Collecting pytest>=2 (from pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/7e/16/83b2a35c427b838df9836c9e7e4ae6dfbcbdea643db44652f693b1c57d70/pytest-4.4.0-py2.py3-none-any.whl
Collecting appdirs>=1.4.0 (from pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
Collecting setuptools (from protobuf->onnx->-r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/c8/b0/cc6b7ba28d5fb790cf0d5946df849233e32b8872b6baca10c9e002ff5b41/setuptools-41.0.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.9.2 (from mako->pycuda>=2017.1.1->-r requirements.txt (line 3))
Collecting funcsigs>=1.0; python_version < "3.0" (from pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting pathlib2>=2.2.0; python_version < "3.6" (from pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/2a/46/c696dcf1c7aad917b39b875acdc5451975e3a9b4890dca8329983201c97a/pathlib2-2.3.3-py2.py3-none-any.whl
Collecting atomicwrites>=1.0 (from pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
Collecting py>=1.5.0 (from pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl
Collecting attrs>=17.4.0 (from pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting pluggy>=0.9 (from pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/84/e8/4ddac125b5a0e84ea6ffc93cfccf1e7ee1924e88f53c64e98227f0af2a5f/pluggy-0.9.0-py2.py3-none-any.whl
Collecting more-itertools<6.0.0,>=4.0.0; python_version <= "2.7" (from pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
  Using cached https://files.pythonhosted.org/packages/2f/9d/dcfe59e213093695f108508af1214cf9cd95cc5489e46877ec5cb56369e5/more_itertools-5.0.0-py2-none-any.whl
Collecting scandir; python_version < "3.5" (from pathlib2>=2.2.0; python_version < "3.6"->pytest>=2->pycuda>=2017.1.1->-r requirements.txt (line 3))
Building wheels for collected packages: onnx, Pillow
  Running setup.py bdist_wheel for onnx ... error
  Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jRVPPM/onnx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpxgBk3Qpip-wheel- --python-tag cp27:
  fatal: not a git repository (or any of the parent directories): .git
  running bdist_wheel
  running build
  running build_py
  running create_version
  running cmake_build
  -- Build type not set - defaulting to Release
  -- The C compiler identification is GNU 7.3.0
  -- The CXX compiler identification is GNU 7.3.0
  -- Check for working C compiler: /usr/bin/cc
  -- Check for working C compiler: /usr/bin/cc -- works
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Check for working CXX compiler: /usr/bin/c++
  -- Check for working CXX compiler: /usr/bin/c++ -- works
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Looking for pthread.h
  -- Looking for pthread.h - found
  -- Looking for pthread_create
  -- Looking for pthread_create - not found
  -- Looking for pthread_create in pthreads
  -- Looking for pthread_create in pthreads - not found
  -- Looking for pthread_create in pthread
  -- Looking for pthread_create in pthread - found
  -- Found Threads: TRUE
  CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
    Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
  Call Stack (most recent call first):
    /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
    /usr/share/cmake-3.10/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    CMakeLists.txt:104 (find_package)

-- Configuring incomplete, errors occurred!
  See also "/tmp/pip-build-jRVPPM/onnx/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
  See also "/tmp/pip-build-jRVPPM/onnx/.setuptools-cmake-build/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-jRVPPM/onnx/setup.py", line 328, in <module>
      'backend-test-tools = onnx.backend.test.cmd_tools:main',
    File "/home/nvidia/.local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
      dist.run_commands()
    File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/dist-packages/wheel/bdist_wheel.py", line 204, in run
      self.run_command('build')
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
      self.run_command(cmd_name)
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-jRVPPM/onnx/setup.py", line 203, in run
      self.run_command('cmake_build')
    File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-jRVPPM/onnx/setup.py", line 190, in run
      subprocess.check_call(cmake_args)
    File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '[u'/usr/bin/cmake', u'-DPYTHON_INCLUDE_DIR=/usr/include/python2.7', u'-DPYTHON_EXECUTABLE=/usr/bin/python2', u'-DBUILD_ONNX_PYTHON=ON', u'-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', u'-DONNX_NAMESPACE=onnx', u'-DPY_EXT_SUFFIX=', '/tmp/pip-build-jRVPPM/onnx']' returned non-zero exit status 1
  
  ----------------------------------------
  Failed building wheel for onnx

  Running setup.py clean for onnx
  Running setup.py bdist_wheel for Pillow ... error
  Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jRVPPM/Pillow/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpdnWy9ppip-wheel- --python-tag cp27:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-2.7
  creating build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageMorph.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageQt.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/FpxImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/GdImageFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/TarIO.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageMode.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/_binary.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/_tkinter_finder.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/XpmImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageChops.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/FliImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PalmImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageDraw.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/MspImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PpmImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImagePath.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/GbrImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageOps.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/MpegImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/BmpImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageEnhance.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/JpegPresets.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PyAccess.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/MpoImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PdfImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/JpegImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PaletteFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/FontFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageGrab.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/FtexImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/GimpGradientFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/CurImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/BdfFontFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageMath.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/IptcImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/SunImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageDraw2.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/DdsImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/_version.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/_util.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/MicImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/GifImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/WmfImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PngImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/WalImageFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PsdImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PSDraw.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/features.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageSequence.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/EpsImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageFilter.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageCms.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/TgaImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageColor.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/SgiImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/__init__.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageTk.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageTransform.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PcxImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/TiffTags.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/XbmImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImagePalette.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/TiffImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PcfFontFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/Image.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PcdImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageFont.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/WebPImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ContainerIO.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ExifTags.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/GimpPaletteFile.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PixarImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/PdfParser.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageShow.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImtImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageWin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/ImageStat.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/IcoImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/BlpImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  copying src/PIL/DcxImagePlugin.py -> build/lib.linux-aarch64-2.7/PIL
  running egg_info
  writing src/Pillow.egg-info/PKG-INFO
  writing top-level names to src/Pillow.egg-info/top_level.txt
  writing dependency_links to src/Pillow.egg-info/dependency_links.txt
  reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.c'
  warning: no files found matching '*.h'
  warning: no files found matching '*.sh'
  no previously-included directories found matching 'docs/_static'
  warning: no previously-included files found matching '.appveyor.yml'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching '.codecov.yml'
  warning: no previously-included files found matching '.editorconfig'
  warning: no previously-included files found matching '.landscape.yaml'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'azure-pipelines.yml'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files matching '.git*' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  no previously-included directories found matching '.azure-pipelines'
  no previously-included directories found matching '.travis'
  writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
  running build_ext

The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.
  
  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html
  
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-jRVPPM/Pillow/setup.py", line 804, in <module>
      raise RequiredDependencyException(msg)
  __main__.RequiredDependencyException:
  
  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.
  
  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

----------------------------------------
  Failed building wheel for Pillow
  Running setup.py clean for Pillow
Failed to build onnx Pillow
Installing collected packages: numpy, setuptools, six, protobuf, typing, typing-extensions, onnx, MarkupSafe, mako, decorator, appdirs, pytools, funcsigs, scandir, pathlib2, atomicwrites, py, attrs, pluggy, more-itertools, pytest, pycuda, Pillow, wget
  Running setup.py install for onnx ... error
    Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jRVPPM/onnx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oRH07G-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    fatal: not a git repository (or any of the parent directories): .git
    running install
    running build
    running build_py
    running create_version
    running cmake_build
    CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
    Call Stack (most recent call first):
      /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      /usr/share/cmake-3.10/Modules/FindProtobuf.cmake:543 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
      CMakeLists.txt:104 (find_package)

-- Configuring incomplete, errors occurred!
    See also "/tmp/pip-build-jRVPPM/onnx/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
    See also "/tmp/pip-build-jRVPPM/onnx/.setuptools-cmake-build/CMakeFiles/CMakeError.log".
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-jRVPPM/onnx/setup.py", line 328, in <module>
        'backend-test-tools = onnx.backend.test.cmd_tools:main',
      File "/home/nvidia/.local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
        dist.run_commands()
      File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/home/nvidia/.local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
        self.run_command('build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
        self.run_command(cmd_name)
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-jRVPPM/onnx/setup.py", line 203, in run
        self.run_command('cmake_build')
      File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/tmp/pip-build-jRVPPM/onnx/setup.py", line 190, in run
        subprocess.check_call(cmake_args)
      File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '[u'/usr/bin/cmake', u'-DPYTHON_INCLUDE_DIR=/usr/include/python2.7', u'-DPYTHON_EXECUTABLE=/usr/bin/python2', u'-DBUILD_ONNX_PYTHON=ON', u'-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', u'-DONNX_NAMESPACE=onnx', u'-DPY_EXT_SUFFIX=', '/tmp/pip-build-jRVPPM/onnx']' returned non-zero exit status 1
    
    ----------------------------------------

Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-jRVPPM/onnx/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-oRH07G-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-jRVPPM/onnx/

before this, I done the [Hello AI World] ,Thanks!

Hi,

Sorry for the late reply.

It looks like camke cannot file the protobuf in your environment:

CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)

Do you install the protobuf library?
If not, please install it with this command:

sudo apt-get install libprotobuf-dev protobuf-compiler

Thanks.

Its work! thank you.