Stop building when a missing module is encountered

38 views Asked by At

Is it possible to make PyInstaller stop execution when it fails to find a missing import in the files being compiled? E. g. this source

import lalala
print("hellou")

Will be compiled just fine, and then fail in runtime.

The docs just say «make sure you have all packages available and in PYTHON_PATH when you build», but this is not helpful because one can accidentally forget to install something on a build server, and it is much less unpleasant to see a build error than to see a bug report

0

There are 0 answers