Hi Guys! I am installing dependencies for isaac 2020 dependencies on my jetson. As discussed in guide, I am installing dependencies by using install dependencies_jetson.sh in 2020isaac/engine/build/scripts/install dependencies_jetson.sh but when it installs ipy widgets with command python3 -m pip install --user ipywidgets it stuck by giving errors on one of the python library named argon2-cffi cffi like this:
Failed building wheel for cffi
Running setup.py clean for cffi
Failed to build argon2-cffi cffi
Installing collected packages: pygments, setuptools, decorator, wcwidth, prompt-toolkit, backcall, parso, jedi, pickleshare, ptyprocess, pexpect, ipython-genutils, six, traitlets, ipython, jupyter-core, tornado, python-dateutil, pyzmq, jupyter-client, ipykernel, pycparser, cffi, argon2-cffi, Send2Trash, entrypoints, webencodings, pyparsing, packaging, bleach, MarkupSafe, jinja2, pandocfilters, testpath, mistune, defusedxml, zipp, importlib-metadata, attrs, pyrsistent, jsonschema, nbformat, nbconvert, terminado, prometheus-client, notebook, widgetsnbextension, ipywidgets
Running setup.py install for cffi ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zquz_n6d/cffi/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-e6ti_omb-record/install-record.txt --single-version-externally-managed --compile --user --prefix=:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
running install
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.6
creating build/lib.linux-aarch64-3.6/cffi
copying cffi/vengine_cpy.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/recompiler.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/commontypes.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/setuptools_ext.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/model.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/cffi_opcode.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/lock.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/ffiplatform.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/api.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/pkgconfig.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/verifier.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/error.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/__init__.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/backend_ctypes.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/vengine_gen.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/cparser.py -> build/lib.linux-aarch64-3.6/cffi
copying cffi/_cffi_include.h -> build/lib.linux-aarch64-3.6/cffi
copying cffi/parse_c_type.h -> build/lib.linux-aarch64-3.6/cffi
copying cffi/_embedding.h -> build/lib.linux-aarch64-3.6/cffi
copying cffi/_cffi_errors.h -> build/lib.linux-aarch64-3.6/cffi
running build_ext
building '_cffi_backend' extension
creating build/temp.linux-aarch64-3.6
creating build/temp.linux-aarch64-3.6/c
aarch64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python3.6m -c c/_cffi_backend.c -o build/temp.linux-aarch64-3.6/c/_cffi_backend.o
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
#include <ffi.h>
^~~~~~~
compilation terminated.
error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zquz_n6d/cffi/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-e6ti_omb-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-zquz_n6d/cffi/
i tried python3 -m pip install --user ipywidgets and python3 -m pip install ipywidgets but still this error is coming, Can anyone please guide… Also is it necessory thing to install for running subsequent tasks on jetson ??
thanks in advance.