I was giving pnumpy a go, trying to run examples that work with numpy, and I run into this ValueError.
From the traceback, the reason is not super obvious, and will have to work out a MWE, but I thought it's worth asking first whether you would expect an error like this.