When running the following code in a mayapy session
import maya.standalone maya.standalone.initialize(name='python') The interpreter never returns for the next line of code.
TL;DR was an issue with my userSetup.py where I use cmds.commandPort I guess before maya is ready. I’m guessing this is actually a bug where standalone python reads this before it is ready.