Docker: no such option: --use-wheel

前端 未结 2 1510
借酒劲吻你
借酒劲吻你 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:31

    Your issue isn't due to missing dependencies ( wheel is installed in the build.sh script you referenced: https://github.com/ryansb/sklearn-build-lambda/blob/master/build.sh#L18 )

    use-wheel was deprecated and no longer exists for pip.

    You can achieve the same by omitting the --use-wheel entries from the script. Take a look at the Python 3.6 PR on the linked repository: https://github.com/ryansb/sklearn-build-lambda/pull/16/files#diff-0b83f9dedf40d7356e5ca147a077acb4

提交回复
热议问题