You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i made executable using pyinstaller and my application use snap 7 library.
after generating executable successfull when run executable it give snap7 error.
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
Activity
gijzelaerr commentedon Jan 24, 2023
What is the error
Diptee24 commentedon Jan 24, 2023
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
spreeker commentedon Jan 24, 2023
python-snap7 is a wrapper around a C library called snap7. that C library is apparently missing. read documentation.
Diptee24 commentedon Jan 24, 2023
but it works from terminal and from where i can get this file and where i have to put
gijzelaerr commentedon Jan 24, 2023
you need to figure out how to bundle the snap7 shared libraries into your pyinstaller package, that is out of scope for python-snap7.