title: Maya 2018 start-up error
body: <p>First time running maya 2018 and I got this script error. I did a fresh reinstall after uninstalling maya and I still get the error (I cannot import or export any files). I installed maya 2017 and it was also throwing errors (when trying to import, an error pops up and maya 2017 crashes). I installed python 3.6.2 and python 2.7.13 and tried running maya 2018 again and same error. My computer meets the program's requirements. If you guys have any clue as to what might be causing this and how to fix it please let me know!</p>
  <blockquote>
  <p>// Warning: file: C:/Program
  Files/Autodesk/Maya2018/scripts/others/mayaHasRenderSetup.mel line 48:
  Failed to run file: C:/Program
  Files/Autodesk/Maya2018/bin/plug-ins/renderSetup.py //</p>
  <p>// Error: file: C:/Program
  Files/Autodesk/Maya2018/scripts/others/mayaHasRenderSetup.mel line 48:
  (renderSetup) //  file -f -new;</p>
  <p>// Warning: file: C:/Program
  Files/Autodesk/Maya2018/scripts/startup/rememberViewportSettings.mel
  line 29: Active stereo does not work with Aero enabled. Active stereo
  has been disabled. //   // untitled //   commandPort -securityWarning
  -name commandportDefault; onSetCurrentLayout &quot;Maya Classic&quot;;</p>
  <p>// AbcExport v1.0 using Alembic 1.5.8 (built Jul 13 2016 18:28:45) //
  AbcImport v1.0 using Alembic 1.5.8 (built Jul 13 2016 18:28:45) //
  Error: file: C:/Program
  Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35:
  initializePlugin function failed (sceneAssembly) //</p>
  <p>// Error: Unable to execute igInitialize.mel. //</p>
  <p>// Error: Unable to execute xgen.mel. //</p>
  <p>// Error: file: C:/Program
  Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35:
  initializePlugin function failed (Type) //  evalDeferred
  &quot;shaderBallRendererMenuUpdate&quot;;</p>
  <p>import arnold // Error: Failed to import python module 'arnold' //
  evalDeferred &quot;shaderBallRendererMenuUpdate&quot;;</p>
  <p>// Error: file: C:/Program
  Files/Autodesk/Maya2018/scripts/startup/autoLoadPlugin.mel line 35:
  initializePlugin function failed (mtoa) //  updateRendererUI;</p>
  <p>// Error: file: C:/Program
  Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenUI.mel line 512:
  Cannot find procedure &quot;MakeXGenHUD&quot;. //</p>
  <p>// Warning: file: C:/Program
  Files/Autodesk/Maya2018/scripts/others/supportRenderers.mel line 64:
  The renderer &quot;arnold&quot; used by this scene, is not currently available.
  The &quot;mayaSoftware&quot; renderer will be used instead. //</p>
  </blockquote>
  <p>I also get an error with maya 2016.</p>
  <blockquote>
  <p>file -f -new;</p>
  <p>optionVar -sv colorManagementColorPickerColorSpaceSelection &quot;Rendering
  Space&quot;;</p>
  <p>optionVar -iv colorManagementColorPickerColorMgtEnabled 1;</p>
  <p>// Warning: file: C:/Program
  Files/Autodesk/Maya2016/scripts/startup/rememberViewportSettings.mel
  line 43: Active stereo does not work with Aero enabled. Active stereo
  has been disabled. //</p>
  <p>optionVar -sv colorManagementColorPickerColorSpaceSelection &quot;Rendering
  Space&quot;;</p>
  <p>optionVar -iv colorManagementColorPickerColorMgtEnabled 1;</p>
  <p>// untitled //</p>
  <p>commandPort -securityWarning -name commandportDefault;</p>
  <p>// Warning: file: C:/Program
  Files/Autodesk/Maya2016/scripts/others/retargeter.mel line 27: Failed
  to run file: C:/Program
  Files/Autodesk/Maya2016/bin/plug-ins/retargeterNodes.py //</p>
  <p>// Error: file: C:/Program
  Files/Autodesk/Maya2016/scripts/others/retargeter.mel line 27:
  (retargeterNodes) //</p>
  <p>// AbcExport v1.0 using Alembic 1.5.4 (built May  8 2014 13:47:10) //
  AbcImport v1.0 using Alembic 1.5.4 (built May  8 2014 13:47:10) //
  Error: file: C:/Program
  Files/Autodesk/Maya2016/scripts/startup/autoLoadPlugin.mel line 46:
  initializePlugin function failed (sceneAssembly) //  // Error: Unable
  to execute igInitialize.mel. //</p>
  <p>// Error: Unable to execute xgen.mel. //</p>
  <p>// Warning: file: C:/Program
  Files/Autodesk/Maya2016/scripts/startup/autoLoadPlugin.mel line 46:
  Failed to run file: C:/Program
  Files/Autodesk/Maya2016/plug-ins/xgen/plug-ins/xgenMR.py //</p>
  <p>// Error: file: C:/Program
  Files/Autodesk/Maya2016/scripts/startup/autoLoadPlugin.mel line 46:
  (xgenMR) //</p>
  <p>// BifrostMain plug-in loaded (built Feb 26 2015 18:01:51)
  updateRendererUI;</p>
  <p>// Error: file: C:/Program
  Files/Autodesk/Maya2016/plug-ins/xgen/scripts/xgenUI.mel line 198:
  Cannot find procedure &quot;registerXGenPrefTab&quot;. //</p>
  </blockquote>
  <p>Little bit of an update, something I found out the output window.</p>
  <blockquote>
  <p>Could not find maya.utils._guiExceptHook.</p>
  <p>Invalid Python Environment: Python is unable to find Maya's Python modules</p>
  <p>Python Environment:</p>
  <p>PYTHONHOME = C:/Python27</p>
  <p>PYTHONPATH = C:/Python27/Lib;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/ATF/scripts;</p>
  <p>C:/Program Files/Autodesk/Bifrost/Maya2018/scripts/boss;</p>
  <p>C:/Program Files/Autodesk/Bifrost/Maya2018/scripts/presets;</p>
  <p>C:/Program Files/Autodesk/Bifrost/Maya2018/scripts;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/apiclient;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/googleapiclient;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/httplib2;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MASH;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MASHAET;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/MayaToAE;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/oauth2client;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/uritemplate;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/ae;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/resources;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/ui;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts/flux/resources/icons;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/MASH/scripts;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/fbx/scripts;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;</p>
  <p>C:/solidangle/mtoadeploy/2018/scripts;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/camd/scripts;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/substance/scripts;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/cafm;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/xmaya;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/ae;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/brushes;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/dialogs;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/fxmodules;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/tabs;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/util;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts/xgenm/ui/widgets;</p>
  <p>C:/Program Files/Autodesk/Maya2018/plug-ins/xgen/scripts</p>
  <p>System modules located at: C:\Program Files\Autodesk\Maya2018\bin\python27.zip</p>
  <p>Search path (sys.path):</p>
  <p>C:\Program Files\Autodesk\Maya2018\bin</p>
  <p>C:\Python27\Lib</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\ATF\scripts</p>
  <p>C:\Program Files\Autodesk\Bifrost\Maya2018\scripts\boss</p>
  <p>C:\Program Files\Autodesk\Bifrost\Maya2018\scripts\presets</p>
  <p>C:\Program Files\Autodesk\Bifrost\Maya2018\scripts</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\apiclient</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\flux</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\googleapiclient</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\httplib2</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\MASH</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\MASHAET</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\MayaToAE</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\oauth2client</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\uritemplate</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\flux\ae</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\flux\resources</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\flux\ui</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts\flux\resources\icons</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\MASH\scripts</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\fbx\scripts</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\camd\scripts</p>
  <p>C:\solidangle\mtoadeploy\2018\scripts</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\substance\scripts</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\cafm</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\xmaya</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui\ae</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui\brushes</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui\dialogs</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui\fxmodules</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui\tabs</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui\util</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts\xgenm\ui\widgets</p>
  <p>C:\Program Files\Autodesk\Maya2018\plug-ins\xgen\scripts</p>
  <p>C:\Program Files\Autodesk\Maya2018\bin\python27.zip</p>
  <p>C:\Python27\DLLs</p>
  <p>C:\Python27\lib\plat-win</p>
  <p>C:\Python27\lib\lib-tk</p>
  <p>C:\Program Files\Autodesk\Maya2018\bin</p>
  </blockquote>