My OS is win 10 Home. I have a Python 3.6 script that updates an MSSql DB, using pymssql. The script works fine locally. Now I need to upload it as aws lambda, so I followed this using the cmd:
python -m venv . Scripts\activate pip install pymssql Then I copied my py function to the Lib\site-packages dir, ziped all the dir content and uploaded it to the Lambda service.
The result was this error:
Unable to import module 'validationLambda': No module named 'pymssql' How to fix this?