Switched to maya.cmds where pymel not necessary