Installed numpy
on my project folder using pip install numpy -t <project dir>
command. I can see numpy
and numpy-1.12.1.dist-info
in the project directory.
But when I zip the directory and run it on Lambda I get
Unable to import module 'handler': Missing required dependencies ['numpy']
Unable to import module 'handler': Importing the multiarray numpy extension module failed. Most likely you are trying to import a failed build of numpy. If you're working with a numpy git repo, try
git clean -xdf
(removes all files not under version control). Otherwise reinstall numpy.
What is wrong with my project?