Hi All, I get that when we do `meltano install` i...
# troubleshooting
p
Hi All, I get that when we do
meltano install
it creates and manages different virtual environment acc to taps and targets requirements. but is there a way to override it so the tap will use it's parent's python env (the python virtual environment in which we run
meltano install
)?
v
You can use the executable plugin definition to point taps/targets to any exe you want. You may need to noop the pip_url plugin definition (maybe there's a better way here but I do something like
cowsay
https://pypi.org/project/cowsay/
p
Hi @visch shouldn't executable be pointed to custom tap repo like below.
in the same-level as meltano.yml
while the actual binary executable gets populated in
.meltano/extractors/{extractor}/venv
Copy code
plugins:
  extractors:
  - name: tap-gdrive
    namespace: "tap_gdrive"
    pip_url: -e tap-gdrive
    executable: tap-gdrive
or do you mean is there a way to override such that executable can reside in custom tap folder and not .meltano/extractors?
v
Executable literally means the executable that will be ran as a part of that plugin. So yes it can execute from wherever you want it to, including your main venv
👍 1
p
Got it, thanks!