Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

290
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!