Answer the question
In order to leave comments, you need to log in
Why after pyinstaller exe the file does not see the third-party library?
Good day. The task is this: it is necessary that the background offer in Windows work without a window with a console.
Wrote a script. Tested. The script is working and there are no problems, it works. Ran pyinstaller --ondefile -windowed test.pyw. Everything went without errors, at startup it swears at the lack of a library, although it is installed in python.
File "snap7\client.py", line 66, in __init__
File "snap7\common.py", line 75, in load_library
File "snap7\common.py", line 66, in __init__
snap7.exceptions.Snap7Exception: can' t find snap7 library. If installed, try running ldconfig
how to make exe build with this library?
Answer the question
In order to leave comments, you need to log in
The point is that the pyinstaller library is a bit off the mark for your purposes. The fact is that, I hasten to upset you, if you turn on the display of file extensions in the control panel, then you will find that pyinstaller actually converts .py not to .exe, but to .govnofile ...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question