0

I'm installing Paramiko on arm architecture and during install I get this error:

enter image description here

I'm not 100% sure. Does this error mean that I need to install build-tools first ? It's complaining about gcc compiler so that's kinda hinting me that build-tools are needed before proceeding.

Any feedback much appreciated.

Update:

Installing libffi-dev revealed another missing dependency:

enter image description here

This time it's Pynacl and Cryptography that's missing.

3
  • Where possible, please share the text directly instead of a screenshot of text. You've not menioned what distribution you're using. This is also an error during pip install, which you've not mentioned at all in your question.
    – Attie
    Jul 7 '20 at 11:30
  • I'm so sorry for forgetting to include distro. I'm on Ubuntu 16.04 and I edited tags as well.
    – Mark
    Jul 7 '20 at 12:16
  • No problem - it's helpful to have as much information as possible when trying to understand what went wrong... did you try installing the package mentioned in my answer?
    – Attie
    Jul 7 '20 at 12:24
0

Does this error mean that I need to install build-tools first?

No, gcc is present, and is probably producing this error message (can't quite see, it's off the top of your screenshot)... try just running gcc on the command line.

What's actually missing is ffi.h (see the error towards the top of the screen).

Try installing libffi-dev (Debian / Ubuntu) / libffi-devel (Redhat / Fedora), depending on your distribution.

5
  • It did the trick, yes ! However now it throws error and I don't like that it says it can't be installed directly. Sounds like I have to build it from source. Please see edit.
    – Mark
    Jul 7 '20 at 12:38
  • opensslv.h is what's actually missing and hence the packages fail to build.
    – Mark
    Jul 7 '20 at 12:45
  • Build of Cryptography fixed by installing libssl-dev.
    – Mark
    Jul 7 '20 at 12:51
  • Have you tried installing libssl-dev to resolve opensslv.h? (the header to package name is often trivially resolvable, via google, etc...)
    – Attie
    Jul 7 '20 at 12:51
  • 1
    Yes it worked for the Cryptography package. Now I'm dealing with failing Pynacl. Thank you for your assistance !
    – Mark
    Jul 7 '20 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.