You can get a list of DLLs being used by your code by putting:
import psutil # Get this process i.e. Python. process = psutil.Process() # Print all loaded DLLs. for i in process.memory_maps(): print(i.path)at the end of it then running your code normally (without PyInstaller). You can then compare that list to the DLLs in your pyinstaller-ed application. It’s tedious but it’s about as good as it gets on Windows.