- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Generated: /tmp/pip-build-e3mvveq7/onnx/.setuptools-cmake-build/onnx/onnx-ml.proto
CMake Error at CMakeLists.txt:257 (message):
Protobuf compiler not found
Call Stack (most recent call first):
CMakeLists.txt:288 (relative_protobuf_generate_cpp)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-build-e3mvveq7/onnx/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-e3mvveq7/onnx/setup.py", line 341, in <module>
'backend-test-tools = onnx.backend.test.cmd_tools:main',
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 204, in run
self.run_command('build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-e3mvveq7/onnx/setup.py", line 217, in run
self.run_command('cmake_build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-e3mvveq7/onnx/setup.py", line 203, in run
subprocess.check_call(cmake_args)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/cmake', '-DPYTHON_INCLUDE_DIR=/usr/include/python3.6m', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-36m-x86_64-linux-gnu.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/tmp/pip-build-e3mvveq7/onnx']' returned non-zero exit status 1.
----------------------------------------
Failed building wheel for onnx
Running setup.py clean for onnx
Failed to build onnx
Installing collected packages: numpy, typing-extensions, onnx, onnxruntime, jsonpickle, certifi, chardet, urllib3, requests, isodate, oauthlib, requests-oauthlib, msrest, azure-core, azure-mgmt-core, azure-common, azure-mgmt-storage, jmespath, websocket-client, docker, ruamel.yaml, PyJWT, python-dateutil, pycparser, cffi, cryptography, adal, msrestazure, azure-graphrbac, azure-mgmt-resource, pyopenssl, pyasn1, ndg-httpsclient, azure-mgmt-authorization, azure-mgmt-containerregistry, backports.weakref, backports.tempfile, contextlib2, pathspec, pytz, azure-mgmt-keyvault, azureml-core
Found existing installation: numpy 1.13.3
Uninstalling numpy-1.13.3:
Successfully uninstalled numpy-1.13.3
Running setup.py install for onnx: started
Running setup.py install for onnx: finished with status 'error'
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-e3mvveq7/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-v60sw_1f-record/install-record.txt --single-version-externally-managed --compile:
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
Generated: /tmp/pip-build-e3mvveq7/onnx/.setuptools-cmake-build/onnx/onnx-ml.proto
CMake Error at CMakeLists.txt:257 (message):
Protobuf compiler not found
Call Stack (most recent call first):
CMakeLists.txt:288 (relative_protobuf_generate_cpp)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-build-e3mvveq7/onnx/.setuptools-cmake-build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-e3mvveq7/onnx/setup.py", line 341, in <module>
'backend-test-tools = onnx.backend.test.cmd_tools:main',
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-e3mvveq7/onnx/setup.py", line 217, in run
self.run_command('cmake_build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-build-e3mvveq7/onnx/setup.py", line 203, in run
subprocess.check_call(cmake_args)
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/local/bin/cmake', '-DPYTHON_INCLUDE_DIR=/usr/include/python3.6m', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cpython-36m-x86_64-linux-gnu.so', '-DCMAKE_BUILD_TYPE=Release', '-DONNX_ML=1', '/tmp/pip-build-e3mvveq7/onnx']' returned non-zero exit status 1.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-e3mvveq7/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-v60sw_1f-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-e3mvveq7/onnx/
Found orphan containers (ia_etcd_provision, ia_etcd) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Building ia_eisbase
Building ia_common
Building ia_etcd_ui
Building ia_video_common
Building ia_openvino_base
Building ia_eis_azure_bridge
Building ia_azure_simple_subscriber
Building ia_factoryctrl_app
Building ia_imagestore
Building ia_influxdbconnector
Building ia_opcua_export
Building ia_rest_export
Building ia_video_analytics
Service 'ia_video_analytics' failed to build: The command '/bin/sh -c pip3.6 install -r va_requirements.txt && rm -rf va_requirements.txt' returned a non-zero code: 1
Failed to install : edge_insights_industrial. Check log files
Failed to install eis_installer took 5 minutes 21.10 seconds
Installation of package complete
+--------------------------+-----------------------------+---------+
| Id | Module | Status |
+--------------------------+-----------------------------+---------+
| 5f21392e9e63c9002a6fd88d | Docker Community Edition CE | SUCCESS |
| 5f213aae9e63c9002a6fd88e | Docker Compose | SUCCESS |
| 5ef46fe3fa5828002aa646e0 | eis installer | FAILED |
+--------------------------+-----------------------------+---------+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Rekha07 ,
There is a dependency build issue for the onnx runtime open source package and expecting a hotfix release soon in the next few days to resolve this issue. For the time being, you can remove the onnxruntime package installation from the 2 files below as workaround and run the setup again. Sorry for the inconvenience cause.
File#1:
edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/IEdgeInsights/VideoIngestion/vi_requirements.txt
File#2:
edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/IEdgeInsights/VideoAnalytics/va_requirements.txt
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Rekha07 ,
There is a dependency build issue for the onnx runtime open source package and expecting a hotfix release soon in the next few days to resolve this issue. For the time being, you can remove the onnxruntime package installation from the 2 files below as workaround and run the setup again. Sorry for the inconvenience cause.
File#1:
edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/IEdgeInsights/VideoIngestion/vi_requirements.txt
File#2:
edge_insights_industrial/Edge_Insights_for_Industrial_2.3.2/IEdgeInsights/VideoAnalytics/va_requirements.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will try that. Thank you
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page