-- not the package missing?
SOLVED: INSTALL PREFECT-DBT[CLI] AS ROOT (the subprocesses don't have the same PATH variable so the
which
command doesn't find them)
๐ 1
๐ 2
โ 1
z
Zanie
10/06/2022, 1:42 PM
Hmm subprocesses should be run as the same user. It seems weird that we'd be able to run as root.
p
Pekka
10/06/2022, 1:43 PM
it doesn't run as a different user but the path definitely isn't the same. there's something happening with the virtual environments too since the python interpreter when polled with
which
wasn't same either.
Pekka
10/06/2022, 1:44 PM
I'm using a custom shell in WSL and the subprocess by default runs as
sh
- that probably explains it
Pekka
10/06/2022, 1:47 PM
the 'user problem' happens with cronjobs. that has nothing to do with this though ๐
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.