I have created a layer in aws for pandas, added this layer into my lambda function. but the code return an error Unable to import module 'lambda_function': No module named 'pandas'. what is the issue for this
My system is windows 11 and I am using python 3.9 and the following commands are used for creating zip file that contains pandas mkdir python cd python pip3 install pandas -t . Compress-Archive -Path . -DestinationPath pandas_layer.zip
pip install, you have to include binary linked dependencies, which you can't do easily on a Windows machine.