Open bartschelfhout opened 6 years ago
https://stackoverflow.com/questions/49886627/unable-to-import-module-copy-var-task-psycopg2-psycopg-so-elf-files-phent Getting the same error!
For - The file copy.py could not be found, change your handler in AWS lambda to copy.handler
Hi
When I build the zip (zip -r9 function.zip .) and upload it, I get the following error when testing Unable to import module 'copy': cannot import name copy Also the console indicates The file copy.py could not be found. Make sure your handler upholds the format: file-name.method. Although I can clearly see it in the editor and I ensured that the file permissions are set so it is readable. Could you please also include a sample query file if possible? Thanks