PythonPipBuilder:ResolveDependencies-{numpy==1.20.3(wheel)}
sam build 失败并出现以下错误:
错误:PythonPipBuilder:ResolveDependencies - {numpy==1.20.3(wheel)}
我试过sam build --use-container,但得到同样的错误。
回答
显然,2021 年 5 月 10 日发布的新 numpy 1.20.3 不兼容。我在我的 requirements.txt 文件中指定了以前版本的 numpy,它工作得很好。
$cat requirements.txt
numpy==1.20.2
-
this works:
pandas n
numpy==1.20.2
THE END
二维码