Trying to run my custom extractor which depends on...
# troubleshooting
h
Trying to run my custom extractor which depends on Pandas. Pandas is already installed in the tap venv using Poetry. It's in site-packages but when I run
meltano run
I get
ModuleNotFoundError: No module named 'pandas'
. My Meltano is installed using system wide pip (installed via Pyenv)
v
Make sure the custom extractor has it as a dependency, I'd assume you used the singer-sdk to build the tap? If so then check out
pyproject.toml
https://github.com/meltano/sdk/blob/main/cookiecutter/tap-template/%7B%7Bcookiecutter.tap_id%7D%7D/pyproject.toml
venvs are created and meant to be fully isolated from each other(including from site-packages)
Pandas is already installed in the tap venv using Poetry
Then maybe you added the package after you installed with Meltano? If so run a
meltano install --clean
Meltano creates a different venv in
.meltano/extractors
that has your deps, so if you changed dependencies after you installed the tap that would explain this
h
The
--clean
install did the trick!