You need run rtpSpStackSize=0x1000000
in the C shell before starting the python interpreter.
-> rtpSpStackSize=0x1000000
rtpSpStackSize = 0xffffffff80c33230: value = 16777216 = 0x1000000
Check this post for more information: VxWorks Software Development Kit (SDK) - #9 by dan.milea
Dan