You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the visualizer in my PC, and it seems I am missing some dependencies.
First, when I build the system using pip install ., I get the follwoing error,
Installation error
Building wheels for collected packages: robot-log-visualizer, idyntree
Building wheel for robot-log-visualizer (PEP 517) ... done
Created wheel for robot-log-visualizer: filename=robot_log_visualizer-0.1.0-py3-none-any.whl size=20263 sha256=8f03952aca0696372ae3db8bc294487781e6841d3863c3acc806223cfb857b96
Stored in directory: /tmp/pip-ephem-wheel-cache-td1i6fnr/wheels/b4/63/34/edfad2463e62e67ed7e451004b243aa380262e1379b21076f6
Building wheel for idyntree (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /home/hosameldin/code/robot-log-visualizer/venv/bin/python /home/hosameldin/code/robot-log-visualizer/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmpbcb7_gk5
cwd: /tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d
Complete output (86 lines):
running bdist_wheel
running build
running build_ext
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at cmake/iDynTreeDependencies.cmake:62 (find_package):
Could not find a package configuration file provided by "Eigen3" (requested
version 3.2.92) with any of the following names:
Eigen3Config.cmake
eigen3-config.cmake
Add the installation prefix of "Eigen3" to CMAKE_PREFIX_PATH or set
"Eigen3_DIR" to a directory containing one of the above files. If "Eigen3"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:39 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d/build/temp.linux-x86_64-3.10_BuildAndInstall/CMakeFiles/CMakeOutput.log".
==> Configuring:
$ cmake -S /tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d -B /tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d/build/temp.linux-x86_64-3.10_BuildAndInstall -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d/build/lib.linux-x86_64-3.10/idyntree -DBUILD_SHARED_LIBS:BOOL=OFF -DIDYNTREE_USES_PYTHON:BOOL=ON -DIDYNTREE_COMPILE_TESTS:BOOL=OFF -DIDYNTREE_PACKAGE_FOR_PYPI:BOOL=ON -DIDYNTREE_USES_IPOPT:BOOL=ON -DIDYNTREE_USES_ASSIMP:BOOL=ON -DIDYNTREE_USES_IRRLICHT:BOOL=OFF -DIDYNTREE_USES_QT5:BOOL=OFF -DIDYNTREE_USES_OSQPEIGEN:BOOL=OFF -DIDYNTREE_USES_ALGLIB:BOOL=OFF -DIDYNTREE_USES_WORHP:BOOL=OFF -DIDYNTREE_USES_YARP:BOOL=OFF -DIDYNTREE_USES_ICUB_MAIN:BOOL=OFF -DIDYNTREE_PYTHON_PIP_METADATA_INSTALL:BOOL=OFF
==> Building:
$ cmake --build /tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d/build/temp.linux-x86_64-3.10_BuildAndInstall --config Release
==> Installing:
$ cmake --install /tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d/build/temp.linux-x86_64-3.10_BuildAndInstall
Traceback (most recent call last):
File "/home/hosameldin/code/robot-log-visualizer/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 349, in <module>
main()
File "/home/hosameldin/code/robot-log-visualizer/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 331, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/hosameldin/code/robot-log-visualizer/venv/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 248, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 244, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
self.run_setup()
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 11, in <module>
setuptools.setup(
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 155, in setup
return distutils.core.setup(**attrs)
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/cmake_build_extension/build_extension.py", line 110, in run
self.build_extension(ext)
File "/tmp/pip-build-env-ke2befbp/overlay/lib/python3.10/site-packages/cmake_build_extension/build_extension.py", line 224, in build_extension
subprocess.check_call(configure_command)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '-S', '/tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d', '-B', '/tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d/build/temp.linux-x86_64-3.10_BuildAndInstall', '-GNinja', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-install-mgaw78v8/idyntree_9e434d6e8e2245b8b3111589f1e0135d/build/lib.linux-x86_64-3.10/idyntree', '-DBUILD_SHARED_LIBS:BOOL=OFF', '-DIDYNTREE_USES_PYTHON:BOOL=ON', '-DIDYNTREE_COMPILE_TESTS:BOOL=OFF', '-DIDYNTREE_PACKAGE_FOR_PYPI:BOOL=ON', '-DIDYNTREE_USES_IPOPT:BOOL=ON', '-DIDYNTREE_USES_ASSIMP:BOOL=ON', '-DIDYNTREE_USES_IRRLICHT:BOOL=OFF', '-DIDYNTREE_USES_QT5:BOOL=OFF', '-DIDYNTREE_USES_OSQPEIGEN:BOOL=OFF', '-DIDYNTREE_USES_ALGLIB:BOOL=OFF', '-DIDYNTREE_USES_WORHP:BOOL=OFF', '-DIDYNTREE_USES_YARP:BOOL=OFF', '-DIDYNTREE_USES_ICUB_MAIN:BOOL=OFF', '-DIDYNTREE_PYTHON_PIP_METADATA_INSTALL:BOOL=OFF']' returned non-zero exit status 1.
----------------------------------------
ERROR: Failed building wheel for idyntree
Successfully built robot-log-visualizer
Failed to build idyntree
ERROR: Could not build wheels for idyntree which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 21.2.4; however, version 22.0.4 is available.
You should consider upgrading via the '/home/hosameldin/code/robot-log-visualizer/venv/bin/python -m pip install --upgrade pip' command.
It seems that it's looking for Eigen3 to build iDynTree, but I don't have installed.
I have a Conda environment where the dependencies of robotology-superbuild are installed. When I activate it the installation goes through without issues.
During running I don't see the visualizer with the robot model.
However, I can launch the visualiser using a browser with the address shown in the terminal.
I used the visualizer in my PC, and it seems I am missing some dependencies.
pip install .
, I get the follwoing error,Installation error
It seems that it's looking for
Eigen3
to buildiDynTree
, but I don't have installed.I have a Conda environment where the dependencies of
robotology-superbuild
are installed. When I activate it the installation goes through without issues.However, I can launch the visualiser using a browser with the address shown in the terminal.
My pip list
My conda list
The text was updated successfully, but these errors were encountered: