question

YJ L avatar image
YJ L asked ·

Can not load Arnold module in maya 2018 (any phython issue?)

Newly installed maya 2018 doesn't load Arnold properly. I've tried several different version of MtoA but no luck. Below is the log after I reinstalled MtoA 3.1.1.

One thing I noticed there is always Python engaged error comes up. As my computer had python installed before Maya, I reckon those are somehow conflicting each other.

I couldn't find any similar issues on the net. Please help me.

file -f -new;
// untitled // 
commandPort -securityWarning -name commandportDefault;
onSetCurrentLayout "Maya Classic";
// Warning: file: C:\Users\YJ-LIH\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute 'aiImage.filename' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: C:\Users\YJ-LIH\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 5: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: C:\Users\YJ-LIH\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 6: filePathEditor: Attribute 'aiStandIn.dso' is invalid or is not designated 'usedAsFilename'. // 
// Warning: file: C:\Users\YJ-LIH\Documents\maya\2018\prefs\filePathEditorRegistryPrefs.mel line 7: filePathEditor: Attribute 'aiVolume.filename' is invalid or is not designated 'usedAsFilename'. // 
// AbcExport v1.0 using Alembic 1.5.8 (built Jul 13 2016 18:28:45) // 
# pymel.core : Updating pymel with pre-loaded plugins: invertShape, mayaHIK, GamePipeline, curveWarp, CloudImportExport, tiffFloatReader, MASH, poseInterpolator, bifrostvisplugin, ATFPlugin, hairPhysicalShader, ikSpringSolver, ik2Bsolver, xgenToolkit, AbcExport, retargeterNodes, gameFbxExporter, VectorRender, OpenEXRLoader, lookdevKit, Unfold3D, Type, mayaCharacterization, modelingToolkit, deformerEvaluator, renderSetup, GPUBuiltInDeformer, fbxmaya # 
// AbcImport v1.0 using Alembic 1.5.8 (built Jul 13 2016 18:28:45) // 
updateRendererUI;
// Warning: file: C:/Program Files/Autodesk/Maya2018/scripts/others/supportRenderers.mel line 64: The renderer "arnold" used by this scene, is not currently available. The "mayaSoftware" renderer will be used instead. // 
saveShelf Polygons "C:/Users/YJ-LIH/Documents/maya/2018/prefs/shelves/shelf_Polygons";
// Result: 1 // 
saveShelf XGen "C:/Users/YJ-LIH/Documents/maya/2018/prefs/shelves/shelf_XGen";
// Result: 1 // 
// Saving preferences to : C:/Users/YJ-LIH/Documents/maya/2018/prefs/userPrefs.mel // 
// Saving window positions to : C:/Users/YJ-LIH/Documents/maya/2018/prefs/windowPrefs.mel // 
// Saving runtime commands to : C:/Users/YJ-LIH/Documents/maya/2018/prefs/userRunTimeCommands.mel // 
// Saving named commands to : C:/Users/YJ-LIH/Documents/maya/2018/prefs/userNamedCommands.mel // 
// Saving plug-in preferences to: C:/Users/YJ-LIH/Documents/maya/2018/prefs/pluginPrefs.mel // 
// Preferences saved. See Script Editor for details. // 
evalDeferred "shaderBallRendererMenuUpdate";
// Warning: line 1: filePathEditor: Attribute 'aiStandIn.dso' and label 'Standin' have been saved already. // 
// Warning: line 1: filePathEditor: Attribute 'aiVolume.filename' and label 'VDB' have been saved already. // 
// Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been saved already. // 
// Warning: line 1: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' and label 'IES' have been saved already. // 
# Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\posixpath.py line 19: cannot import name _unicode # 
# Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\posixpath.py line 19: cannot import name _unicode # 
# Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\posixpath.py line 19: cannot import name _unicode # 
# Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\posixpath.py line 19: cannot import name _unicode # 
# Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\posixpath.py line 19: cannot import name _unicode # 
import arnold
// Successfully imported python module 'arnold' // 
import mtoa
// Successfully imported python module 'mtoa' // 
import mtoa.cmds.registerArnoldRenderer;mtoa.cmds.registerArnoldRenderer.registerArnoldRenderer()
# Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file C:\Program Files\Autodesk\Maya2018\bin\python27.zip\posixpath.py line 19: cannot import name _unicode # 
// Error: Failed to register renderer 'arnold' // 
evalDeferred "shaderBallRendererMenuUpdate";
// Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: initializePlugin function failed (mtoa) // 
arnoldmtoapython
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

I would remove C:\Python27\Lib from PYTHONPATH

Then, if you still have problems, turn off autoload fro Mtoa, restart maya, and run Process Monitor when you try to import _unicode

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

YJ L avatar image
YJ L answered ·

Hi @Stephen Blair,

When I run <import arnold> nothing happens. No response.

And second script comes up below error.

import genericpath
from genericpath import *
from genericpath import _unicode


# Error: ImportError: file <maya console> line 4: cannot import name _unicode # 

My system("set")

system("set");
// Result: ADSK_3DSMAX_x64_2015=C:\Program Files\Autodesk\3ds Max 2015\
ADSK_CLM_WPAD_PROXY_CHECK=FALSE
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\YJ-LIH\AppData\Roaming
asl.log=Destination=file
ATF_LOCATION=C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/
AUTOLOADER_LAPS=10
BIFROST_LOCATION=C:/Program Files/Autodesk/Bifrost/Maya2018/
CDSROOT=C:\Cadence\SPB_16.6
CDS_LIC_FILE=5280@localhost
CDS_LIC_ONLY=1
CHDL_LIB_INST_DIR=C:\Cadence\SPB_16.6
CM2015DIR=C:\Program Files (x86)\Common Files\Autodesk Shared\Materials\
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=YJ-LIH-PC
ComSpec=C:\Windows\system32\cmd.exe
CONCEPT_INST_DIR=C:\Cadence\SPB_16.6
FBX_LOCATION=C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/
FP_NO_HOST_CHECK=NO
HOME=C:\Users\YJ-LIH\AppData\Roaming\SPB_Data
HOMEDRIVE=C:
HOMEPATH=\Users\YJ-LIH
ILMDIR=C:\Program Files (x86)\Common Files\Autodesk Shared\Materials\
INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
KMP_DUPLICATE_LIB_OK=TRUE
LM_LICENSE_FILE=C:\OrCAD\OrCAD_10.5\IntelliCAD 4\\cadopia.dat
LOCALAPPDATA=C:\Users\YJ-LIH\AppData\Local
LOGONSERVER=\\YJ-LIH-PC
MASH_LOCATION=C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/
MAYA_APP_DIR=C:/Users/YJ-LIH/Documents/maya
MAYA_CONTENT_PATH=C:/Program Files/Autodesk/Maya2018/Examples;C:/Program Files/Autodesk/Bifrost/Maya2018/examples/bifrostfluids;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/MASH Examples
MAYA_CUSTOM_TEMPLATE_PATH=;C:/solidangle/mtoadeploy/2018/scripts/mtoa/ui/templates
MAYA_FBX_PLUGIN_LOCATION=C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/plug-ins
MAYA_LOCATION=C:/Program Files/Autodesk/Maya2018
MAYA_MODULE_PATH=C:/Program Files/Autodesk/Maya2018/modules;C:/Users/YJ-LIH/Documents/maya/2018/modules;C:/Users/YJ-LIH/Documents/maya/modules;C:/Program Files/Common Files/Autodesk Shared/Modules/maya/2018
MAYA_MODULE_UI_WORKSPACE_PATH=;C:/Program Files/Autodesk/Bifrost/Maya2018/resources/workspaces
MAYA_PLUG_IN_PATH=C:/Users/YJ-LIH/Documents/maya/2018/plug-ins;C:/Users/YJ-LIH/Documents/maya/plug-ins;C:/Program Files/Autodesk/Maya2018/bin/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/plug-ins;C:/Program Files/Autodesk/Bifrost/Maya2018/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/plug-ins;C:/solidangle/mtoadeploy/2018/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/substance/plug-ins;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/plug-ins
MAYA_PLUG_IN_RESOURCE_PATH=;C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/resources;C:/Program Files/Autodesk/Bifrost/Maya2018/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/resources;C:/solidangle/mtoadeploy/2018/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/substance/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/resources
MAYA_PRESET_PATH=;C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/presets;C:/Program Files/Autodesk/Bifrost/Maya2018/presets;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/presets;C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/presets;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/presets;C:/solidangle/mtoadeploy/2018/presets;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/presets;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/presets;C:/Program Files/Autodesk/Maya2018/plug-ins/substance/presets;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/presets
MAYA_RENDER_DESC_PATH=C:/solidangle/mtoadeploy/2018
MAYA_REVERSE_FILEFORMAT_EXT=1
MAYA_SCRIPT_BASE=C:/Program Files/Autodesk/Maya2018
MAYA_SCRIPT_PATH=C:/Users/YJ-LIH/Documents/3D/exercise/scripts;C:/Users/YJ-LIH/Documents/maya/2018/scripts;C:/Users/YJ-LIH/Documents/maya/scripts;C:/Users/YJ-LIH/Documents/maya/2018/presets;C:/Users/YJ-LIH/Documents/maya/2018/prefs/shelves;C:/Users/YJ-LIH/Documents/maya/2018/prefs/markingMenus;C:/Users/YJ-LIH/Documents/maya/2018/prefs/scripts;C:/Program Files/Autodesk/Maya2018/scripts;C:/Program Files/Autodesk/Maya2018/scripts/startup;C:/Program Files/Autodesk/Maya2018/scripts/shelves;C:/Program Files/Autodesk/Maya2018/scripts/others;C:/Program Files/Autodesk/Maya2018/scripts/AETemplates;C:/Program Files/Autodesk/Maya2018/scripts/unsupported;C:/Program Files/Autodesk/Maya2018/scripts/paintEffects;C:/Program Files/Autodesk/Maya2018/scripts/fluidEffects;C:/Program Files/Autodesk/Maya2018/scripts/hair;C:/Program Files/Autodesk/Maya2018/scripts/cloth;C:/Program Files/Autodesk/Maya2018/scripts/live;C:/Program Files/Autodesk/Maya2018/scripts/fur;C:/Program Files/Autodesk/Maya2018/scripts/muscle;C:/Program Files/Autodesk/Maya2018/scripts/turtle;C:/Program Files/Autodesk/Maya2018/scripts/FBX;C:/Program Files/Autodesk/Maya2018/scripts/mayaHIK;C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/scripts;C:/Program Files/Autodesk/Bifrost/Maya2018/scripts/boss;C:/Program Files/Autodesk/Bifrost/Maya2018/scripts/presets;C:/Program Files/Autodesk/Bifrost/Maya2018/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/apiclient;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/googleapiclient;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/httplib2;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MASH;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MASHAET;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MayaToAE;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/oauth2client;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/uritemplate;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/ae;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/ui;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/resources/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;C:/solidangle/mtoadeploy/2018/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/substance/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/cafm;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/xmaya;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/ae;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/brushes;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/dialogs;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/fxmodules;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/tabs;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/util;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/widgets;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts;C:/solidangle/mtoadeploy/2018/scripts/mtoa/mel
MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic
NUMBER_OF_PROCESSORS=8
NVIDIAWHITELISTED=0x01
OA_PLUGIN_PATH=C:\Cadence\SPB_16.6\Share\oaPlugIns
OS=Windows_NT
Path=C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/ATF;C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/ATF/alias;C:/Program Files/Autodesk/Maya2018/bin/Cg;C:/Program Files/Autodesk/Maya2018/bin;C:/ProgramData/Oracle/Java/javapath;C:/Program Files (x86)/Intel/iCLS Client/;C:/Program Files/Intel/iCLS Client/;C:/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler;C:/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/ia32/compiler;C:/Windows/system32;C:/Windows;C:/Windows/System32/Wbem;C:/Windows/System32/WindowsPowerShell/v1.0/;C:/Program Files/Common Files/Autodesk Shared/;C:/Program Files (x86)/Autodesk/Backburner/;C:/Program Files/Intel/Intel(R) Management Engine Components/DAL;C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL;C:/Program Files/Intel/Intel(R) Management Engine Components/IPT;C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT;C:/Program Files (x86)/Skype/Phone/;C:/Program Files (x86)/QuickTime/QTSystem/;C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common;C:/Python27;C:/Program Files/PuTTY/;C:/Users/YJ-LIH/Downloads/gtkwave-3.3.83-bin-win32;C:/Program Files/Intel/WiFi/bin/;C:/Program Files/Common Files/Intel/WirelessCommon/;C:/Cadence/SPB_16.6/openaccess/bin/win32/opt;C:/Cadence/SPB_16.6/tools/capture;C:/Cadence/SPB_16.6/tools/pspice;C:/Cadence/SPB_16.6/tools/specctra/bin;C:/Cadence/SPB_16.6/tools/fet/bin;C:/Cadence/SPB_16.6/tools/libutil/bin;C:/Cadence/SPB_16.6/tools/bin;C:/Cadence/SPB_16.6/tools/pcb/bin;C:/OrCAD/OrCAD_10.5/tools/pcb/bin;C:/OrCAD/OrCAD_10.5/tools/fet/bin;C:/OrCAD/OrCAD_10.5/tools/specctra/bin;C:/OrCAD/OrCAD_10.5/tools/bin;C:/OrCAD/OrCAD_10.5/tools/PSpice/Library;C:/OrCAD/OrCAD_10.5/tools/Capture;C:/Program Files (x86)/Nmap; c:/windows/system32;C:/Program Files/Intel/WiFi/bin/;C:/Program Files/Common Files/Intel/WirelessCommon/;C:/Program Files/Autodesk/Bifrost/Maya2018/bin;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/bin;C:/solidangle/mtoadeploy/2018/bin;C:/Program Files/Autodesk/Maya2018/plug-ins/substance/bin;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 71 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=4701
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
PYTHONPATH=C:/Python27/Lib;C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/scripts;C:/Program Files/Autodesk/Bifrost/Maya2018/scripts/boss;C:/Program Files/Autodesk/Bifrost/Maya2018/scripts/presets;C:/Program Files/Autodesk/Bifrost/Maya2018/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/apiclient;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/googleapiclient;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/httplib2;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MASH;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MASHAET;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MayaToAE;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/oauth2client;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/uritemplate;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/ae;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/resources;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/ui;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/resources/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;C:/solidangle/mtoadeploy/2018/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/substance/scripts;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/cafm;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/xmaya;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/ae;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/brushes;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/dialogs;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/fxmodules;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/tabs;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/util;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/widgets;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts
QT_HARFBUZZ=old
QT_MAC_DONT_OVERRIDE_CTRL_LMB=1
SESSIONNAME=Console
SHIM_MCCOMPAT=0x800000001
solidangle_LICENSE=5053@YJ-LIH-PC
SUBSTANCES_LOCATION=C:/Program Files/Autodesk/Maya2018/plug-ins/substance/substances
SYNCAD_HOME=C:\SynaptiCAD
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\YJ-LIH\AppData\Local\Temp
TMP=C:\Users\YJ-LIH\AppData\Local\Temp
TMPDIR=C:/Users/YJ-LIH/AppData/Local/Temp
UNISON=C:\SynaptiCAD\.unison\
USER=YJ-LIH
USERDOMAIN=YJ-LIH-PC
USERNAME=YJ-LIH
USERPROFILE=C:\Users\YJ-LIH
VCToolkitInstallDir=C:\SynaptiCAD\vctoolkit\
WF_IMF_CIN_CORRECTION=both
WF_IMF_CIN_WHITE_POINT=685
windir=C:\Windows
windows_tracing_flags=3
windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log
XBMLANGPATH=C:/Users/YJ-LIH/Documents/maya/2018/prefs/icons;C:/Users/YJ-LIH/Documents/maya/prefs/icons;C:/ProgramData/Autodesk/maya/2018;C:/Program Files/Autodesk/Maya2018/icons;C:/Program Files/Autodesk/Maya2018/app-defaults;C:/Program Files/Autodesk/Maya2018/icons/paintEffects;C:/Program Files/Autodesk/Maya2018/icons/fluidEffects;C:/Program Files/Autodesk/Maya2018/icons/hair;C:/Program Files/Autodesk/Maya2018/icons/cloth;C:/Program Files/Autodesk/Maya2018/icons/live;C:/Program Files/Autodesk/Maya2018/icons/fur;C:/Program Files/Autodesk/Maya2018/icons/muscle;C:/Program Files/Autodesk/Maya2018/icons/turtle;C:/Program Files/Autodesk/Maya2018/icons/FBX;C:/Program Files/Autodesk/Maya2018/icons/mayaHIK;C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/icons;C:/Program Files/Autodesk/Bifrost/Maya2018/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/icons;C:/solidangle/mtoadeploy/2018/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/camd/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/substance/icons;C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/icons
XGEN_LOCATION=C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/
XGEN_ROOT=C:/Users/YJ-LIH/Documents/3D/exercise/xgen
__KMP_REGISTERED_LIB_12880=000007FEECA84894-cafe976f-libiomp5md.dll
 // 


Can you notice what is problem? thanks for the help

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

The cannot import name _unicode error may or may not be related to the problem loading MtoA.

What happens when you run this Python in the script editor?

import arnold

Maya bundles Python in the Maya install, so you shouldn't be getting that _unicode error.

Run this in the script editor:

import genericpath
from genericpath import *
from genericpath import _unicode

Check the environment in Maya For example, does the PATH include any older versions of MtoA? If you're on Windows, run the MEL command system("set") to get the environment.

Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.