To build your application, you need to specify where your source code is via the path argument, this defaults to src. The pkg_resources hook for setuptools>=v70.0.0 is currently missing in pyinstaller ...