potiuk edited a comment on pull request #13640:
URL: https://github.com/apache/airflow/pull/13640#issuecomment-759092886


   One more try. How about adding `pip uninstall --local 'apache-airflow'` 
before?  This will fail if airflow has not been installed before.
   
   I think the duplication issue is gone because of `jdbx` name so it might be 
unrelated. 
   
   Also - did you actually add the `USER airflow` before pip install ? Maybe 
you missed the last comment of mine. The prod image has airflow installed for 
'airflow' user and thee --user flag uses the ${HOME}/.local of the current 
user. So it could be that you installed the new airflow for the root user in 
/root/.local and then when you run the image you run it as 'airflow' user with 
/home/airflow/.local. 
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to