I am using py2exe on windows 7 to make an app using psutil. I am using python 2.7. I am making a single file executable. When I try to compile the python python program with psutil, near the end it says:
The following modules appear to be missing
['_psutil_bsd', '_psutil_linux', '_psutil_osx', '_psutil_posix', '_psutil_sunos', '_scproxy', '_sysconfigdata', 'builtins']
All these issues come from py2exe including a bunch of system dlls.
Adding the following list of excludes. (Mainly the last 4). Solves this issue.
dll_excludes=['msvcr71.dll', "IPHLPAPI.DLL", "NSI.dll", "WINNSI.DLL", "WTSAPI32.dll"]
You can take a look/cross reference the .dll with those found in your system folder for a list of which ones it is included that should not be present.