Docker: no such option: --use-wheel

前端 未结 2 1492
借酒劲吻你
借酒劲吻你 2021-01-06 10:33

I\'m trying to use Docker to create a dependency package for AWS Lambda using this repository, but whenever I try to run the build.sh file, I end up with the message:

2条回答
  •  逝去的感伤
    2021-01-06 11:14

    --use-wheel is deprecated since pip 7 (in favor of --only-binary) and removed since pip 10 beta 1.

    To fix all scripts in a git repo:

    git grep -l -- --use-wheel | while read f; do sed -i -e 's|use-wheel|only-binary=:all:|g' ${f}; done

提交回复
热议问题