Appearance
To add some python library in UE you need to use the UE_PYTHONPATH environment variable instead of PYTHONPATH.
UE_PYTHONPATH
PYTHONPATH
def commands(): env.PYTHONPATH.append('/path/to/your/python/modules') env.UE_PYTHONPATH.append('/path/to/your/python/modules')