11

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.

NaSh
  • 665
  • 5
  • 16

1 Answers1

21

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
NaSh
  • 665
  • 5
  • 16