edithturn commented on issue #21164:
URL: https://github.com/apache/airflow/issues/21164#issuecomment-1029584079


   @potiuk I replicated this issue again and again, in a container, local 
machine, and in a Google Cloud Machine, once ./Breeze2 is installed the error 
will appear for the first time, then is not possible to replicate, even 
deleting the `.build `directory. To replicate it has to be in an empty 
environment. So I did my last test in an Instance on Google Cloud.
   
   So to avoid this issue I suggest adding ad a pre-requirement: `python3 -m 
pip install click-completion` as a system package (correct me if I am wrong 
here), so the steps the user have to make will be similar to this (in a clean 
environment):
   
   * `sudo apt update`
   * `mkdir test && cd test && git clone 
https://github.com/edithturn/airflow.git $$ cd airflow/`
   * `sudo apt install python3.8-venv`
   * `sudo apt install python3-pip`
   * `python3 -m pip install click-completion`
   
   Then `./Breeze2` will not have any issue with the installation. But as I 
write the lines above, it didn't show the functionality of setup-autocomplete.
   
   **Note**: Even I installed click-completion as a part of the requirement, I 
CAN'T make a completion for Breeze2 work. (I am not sure if this could work or 
not, but in all the tests I did It didn't), I tested **breeze** setup 
completion and it works perfectly, but NOT BREEZE2.
   
   To test setup-autocomplete, I run it with sudo (this is other but which 
Bowrna is working): `sudo ./Breeze2 setup-autocomplete`
   
   In conclusion: Let me know if fixing the documentation to add these 
requirements could close this issue? or should I ask for help from other 
containers? 


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