potiuk edited a comment on issue #19701:
URL: https://github.com/apache/airflow/issues/19701#issuecomment-974138813


   > This solution doesn´t work. I set in the config the variable. Restarted 
Webserver and scheduler and the message continue to be:
   
   Did you restart workers? You skipped the part where you shoudl describe your 
environment, So I have no idea what deployment you have. The setting above 
should work for Kubernetes and LocalExecutor. But if you use Celery workers 
then there is another setting which you can try: 
https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#pool
 
   
   If it does not work, then using PythonVirtualEnv is the final option you 
shoudl try and it will for sure work.
   
   Yet another option if you really want separate process is to run your 
command in PythonOperator via the usual "POpen". This is completely standard 
way how you start new interpreter. If it does not work for some reason you 
could start via "system" shell option and then it will work 100% - simply place 
your python code in a separate file and run`python your_file.py` command.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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


Reply via email to