Closed dbieber closed 4 years ago
Hmm, I see there is pipetools.X, so I must not have the config set up right. Let me check that.
Yes, it was just an environment variable issue. Please disregard. :)
Thanks for reporting, it's still possible for pyp to produce a more helpful error in this case. I just pushed https://github.com/hauntsaninja/pyp/commit/f716a84922abac805b892a514949378c5991ab1f and I'll cut a new release with it soon.
I tried this example from the README:
seq 1 110 | pyp 'lines > foreach(int) | where(X > 100) | group_by(X % 3) | sort_by(X[0])'
but I get the error
ModuleNotFoundError: No module named 'X'
.I do have
from pipetools import *
in my config.