Код: Выделить всё
from pysiril.siril import Siril
from pysiril.wrapper import Wrapper
from pysiril.addons import Addons
app = Siril(siril_exe='D:\\Programs\\Siril\\bin\\siril-cli.exe') # Starts pySiril
cmd = Wrapper(app) # Starts the command wrapper
help(Siril) # Get help on Siril functions
help(Wrapper) # Get help on all Wrapper functions
help(Addons) # Get help on all Addons functions
cmd.help() # Lists of all commands
cmd.help('bgnoise') # Get help for bgnoise command
del app
Код: Выделить всё
pyinstaller -F main.py
Код: Выделить всё
Traceback (most recent call last):
File "main.py", line 1, in
from pysiril.siril import Siril
File "PyInstaller\loader\pyimod02_importers.py", line 419, in exec_module
File "pysiril\siril.py", line 32, in
ModuleNotFoundError: No module named 'changelog'
[1824] Failed to execute script 'main' due to unhandled exception!
Код: Выделить всё
import changelog
import LogMsg
import PipeReader
import PipeWriter
import ThreadSiril
import tools
Их нигде нет... но почему без exe все работает нормально?
Код Github
Подробнее здесь: https://stackoverflow.com/questions/786 ... ee-modules