Failed to install jupyter, got error code 1 in /tmp/pip-build-81nxy1eu/cffi/

I installed pytorch, and it works.

but when I install jupyter, I got errors, could you please help?
thanks.

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-81nxy1eu/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-7u07lvq9-record/install-record.txt --single-version-externally-managed --compile” failed with error code 1 in /tmp/pip-build-81nxy1eu/cffi/

It worked after I upgrade pip with below command.
pip3 install --upgrade pip

1 Like

Glad to know issue resolved, thanks for the update!