Skip to content

error when running setup.py #254

Open

Description

@Damien455

building 'zigbee_crypt' extension
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include -I/usr/include -I/sw/include/ -Izigbee_crypt -I/usr/include/python3.8 -c zigbee_crypt/zigbee_crypt.c -o build/temp.linux-x86_64-3.8/zigbee_crypt/zigbee_crypt.o
x86_64-linux-gnu-gcc: error: zigbee_crypt/zigbee_crypt.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Activity

  1. taylorcenters commented on Apr 22, 2022

    @taylorcenters
    Contributor

    are you able to see the file zigbee_crypt/zigbee_crypt.c ?

  2. Eofric commented on May 5, 2022

    @Eofric

    I had the same issue. Installing libgcrypt-dev via apt solved it.

  3. Damien455 commented on Jun 2, 2022

    @Damien455
    Author

    problem went away when i removed everything and redownloaded it

  4. freqyXin commented on Mar 8, 2023

    @freqyXin

    Still having this issue on MacOS.

    Libgcrypt-dev is not available via homebrew or macports.

    building 'zigbee_crypt' extension
    clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -I/usr/local/include -I/usr/include -I/sw/include/ -Izigbee_crypt -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c zigbee_crypt/zigbee_crypt.c -o build/temp.macosx-10.9-universal2-cpython-311/zigbee_crypt/zigbee_crypt.o
    zigbee_crypt/zigbee_crypt.c:15:10: fatal error: 'gcrypt.h' file not found
    #include <gcrypt.h>
             ^~~~~~~~~~
    1 error generated.
    error: command '/usr/bin/clang' failed with exit code 1 
    
    

    Any advice?

  5. mma4194 commented on Nov 15, 2023

    @mma4194

    Had the same issue on Ubuntu and solved it using: sudo apt-get install -y libgcrypt-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions