PythonPipBuilder:ResolveDependencies - {numpy==1.20.3(wheel)}

3k Views Asked by At

sam build fails with the following error:

Error: PythonPipBuilder:ResolveDependencies - {numpy==1.20.3(wheel)}

I tried sam build --use-container, but get the same error.

1

There are 1 best solutions below

0
On BEST ANSWER

apparently, the new numpy 1.20.3 released May 10 2021 is not compatible. I specified the previous version of numpy in my requirements.txt file, and it worked just fine.

$cat requirements.txt
numpy==1.20.2