Skip to content

debian executable issue due to snap7 #420

Closed

Description

@Diptee24

i made executable using pyinstaller and my application use snap 7 library.
after generating executable successfull when run executable it give snap7 error.

Activity

  1. gijzelaerr commented on Jan 24, 2023

    @gijzelaerr
    Owner

    What is the error

  2. Diptee24 commented on Jan 24, 2023

    @Diptee24
    Author

    can't find snap7 library. If installed, try running ldconfig
    but i have already installed using sudo python -m pip install python-snap7 and i can run using terminal

  3. spreeker commented on Jan 24, 2023

    @spreeker
    Collaborator

    python-snap7 is a wrapper around a C library called snap7. that C library is apparently missing. read documentation.

  4. Diptee24 commented on Jan 24, 2023

    @Diptee24
    Author

    but it works from terminal and from where i can get this file and where i have to put

  5. gijzelaerr commented on Jan 24, 2023

    @gijzelaerr
    Owner

    you need to figure out how to bundle the snap7 shared libraries into your pyinstaller package, that is out of scope for python-snap7.

  6. Repository owner locked and limited conversation to collaborators on Jan 24, 2023
  7. converted this issue into a discussion #421 on Jan 24, 2023
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions