Getting `[Errno 2] No such file or directory: '/us...
# troubleshooting
v
Getting
[Errno 2] No such file or directory: '/usr/bin/virtualenv'
in some of my Tests. https://github.com/MeltanoLabs/target-postgres/actions/runs/4046145129/jobs/6958562915 Smells like a
meltano version
thing from looking at the latest release notes. I'm going to add version pinning for Meltano in
target-postgres
to address the failure happening without a change to the source code on my side but still curious
e
I’ll try to reproduce this and see if it’s related
Ok, so
pipx install meltano
seems to fix it temporarily
c
Hmm .. I feel like I have some involvement in that. (At least I was the one pointing out that the
virtualenv
dependency was no longer present in the
meltano
package metadata) Having
virtualenv
back in the dependencies is certainly a good thing @edgar_ramirez_mondragon: What was the intent behind the change from
-m venv
to using the wrapper script (
virtualenv
)?
-m venv
seems more robust to me at first glance.
e
@christoph
venv
has a subset of the features of
virtualenv
and is not distributed by default in all systems (think
python3-venv
). And yeah,
-m virtualenv
is more reliable than what I ended up replacing
-m venv
with, but that’ll be patched tomorrow if we get the release out
c
Ah! Now I see. I didn't realise the difference between the built-in
venv
in the standard library and the
virtualanv
package from PyPA. Learnt something today. 😁