Pyinstaller
Source: RealPython tutorial
Installing PyInstaller, even in a virtual environment, will install the pyinstaller executable to $HOME/.local/bin.
On Windows, it is installed to another directory within
LOCALAPPDATA
.
pip install pyinstaller
Several options are available
hidden-import
name
onefile
pyinstaller script.py --onefile
This problem appears to be specific to certain modules, like emoji.