I am getting the error when running the metadata function of arcpy function:
arcpy.MetadataImporter_conversion (MetadataFile, TargetGenESISData)FME API version of module 'PythonFactory' matches current internal version (3.8 20151127)
The user-specified Python interpreter `C:\\Windows\\System32\\python27.dll' is version 2.7
Python version 2.7 loaded successfully
FME API version of module 'PythonFactory' matches current internal version (3.8 20151127)
FME API version of module 'PythonFactory' matches current internal version (3.8 20151127)
Emptying factory pipeline
Unhandled Exception:System.IO.FileNotFoundException: Could not load file or assembly 'GpMetadataFunctions, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified.
File name: 'GpMetadataFunctions, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at GetManagedType(Char* _assembly, Char* _path, Char* _className)
Please let me know what to do