def missingDependencies(target_module):
 dependencies = getattr(target_module, '_dependencies', [])
 return [i for i in dependencies if (not testImport(i))]

def missingDependencies ( target_module ) : dependencies = getattr ( target_module , '_dependencies' , [ ] ) return [ i for i in dependencies if ( not testImport ( i ) ) ]
returns a list of dependencies of the module that the current interpreter cannot import .