Replies: 1 comment 2 replies
-
|
Your virtualenv cannot import I believe mounting venv created in Host and using them inside container is generally very bad idea. You can do it, sure, but if you have problems like that you are entirely on your own to solve any problems like that because this is absolutely non-standard, not supported by Python as a language and it will likely have side effects that you won't be able to fix. Also It's quite against the whole idea of using containers that are supposed to be immutable. If you want to really easily modify the virtual envs I recommend you to use the standard built-in functionality of docker compose which allows you to rebuild your image and use it automatically https://github.com/apache/airflow/pull/29598/files is a recently merged PR that will make it in the docs that explains how to do it. You will save a lot of time by doing it - not only yours but people who you are asking for help you to get this very non-standard workflow to work. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
GOAL
DONE
CHALLANGE
Files and ERRORS
docker-compose.yml
my example DAG that I want to work:
ERROR that I get:
Beta Was this translation helpful? Give feedback.
All reactions