Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

291
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda