Repository navigation
what can I do to change the head in file "bin/airflow" to "#!/usr/bin/env" #14948
Unanswered
mingkeming
asked this question in
Q&A
Replies: 2 comments 1 reply
|
Any particular reason to install form wheel? Why not use |
1 reply
|
How do you build your wheels? Are you using Airflow ones or you build them yourself? I believe you are building it yourself. Distutlil has a bug apparently that does this shebang modification if you have "unclean" virtualenv and you run the build in not the right sequence. Just follow this comment and discussion to fix it pybuilder/pybuilder#168 (comment) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
when I run pip install --target= path apache_airflow-2.0.1-py3-none-any.whl

I get all the package ,and I found some new file were created in
then when I copy these package to the other platform , some error occured,

all reason is the file "airflow" in bin has the head
is someone know , what can I do to change "#!/opt/buildtools/python-3.8.5/bin/python3.8" to "#!/usr/bin/env"
when I use it like[ python -m pip install --target=path airflow.whl],the head has changed to other .
is this need to be a issure for pip?
who can tell me ? thanks
All reactions