Hey Everyone, I’m trying to use our personal pypi ...
# best-practices
t
Hey Everyone, I’m trying to use our personal pypi server with and per this thread use the
PIP_EXTRA_INDEX_URL
- I can jump into the docker container and
pip install target-example
however, when I try and
meltano install
it doesn’t seem to be able to find the package.
Copy code
version: 1
plugins:
  loaders:
  - name: target-example
    pip_url: target-example
would be the meltano.yml
the dockerfile works
Copy code
FROM meltano/meltano:latest-python3.8
ARG PIP_EXTRA_INDEX_URL
ENV PIP_EXTRA_INDEX_URL $PIP_EXTRA_INDEX_URL
COPY meltano/meltano.yml meltano.yml
WORKDIR /project
RUN meltano install
I see the
meltano.yml
in the docker container and I can install standard meltano tap/target but for some reason it doesn’t find the
target-example
from our other
pypi server
when I run
meltano install
I get
Extractor 'tap-example' is not known to Meltano
🧐
but pip install works in that same container
e
Hi @timothy_frazer. Just in case, I see "`target-example`" in your yaml sample, but is "`tap-example`" present in your meltano.yml?
d
@timothy_frazer If
target-example
(or
tap-example
) is not supported out of the box by Meltano, you need to provide a little more information in
meltano.yml
for it to work: https://meltano.com/docs/project.html#custom-plugin-definitions I recommend adding it using
meltano add --custom
as in https://meltano.com/docs/plugin-management.html#custom-plugins
t
@edgar_ramirez_mondragon that was my my typing mistake -
@douwe_maan thanks! I was reading that but I guess I missed an important step