Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

292
Visualizações
pymongo not being installed in airflow docker container

when i run airflow UI and refresh it for refreshing the DAG, the error comes which says no module pymongo. So i have tried to put it in requirements.txt and use that by volumes. Also i have installed it in cli. But the error is not going.

Is there a proper way we can use the etl technique using python on the DAG.

pip install -r requirements.txt
pip install pymongo

import pymongo
from pymongo import MongoClient


client = pymongo.MongoClient(---)

Kindly need suggestions on it.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

You need to build your own Airlfow image with extra dependencies if the ones installed by default are not enough for you.

This is described in detail in the docuemntation - with plenty of examples and explanation on when and how you should build the image

https://airflow.apache.org/docs/docker-stack/build.html

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda