Cloud9 with Python3 and pymssql

python

#1

I have a python3 code running on Cloud9 environment that uses pymssql.

If I run directly on the terminal it works perfectly.
I can select and update data from my SQL Server.
$ python3 lambda_function.py

But when I try to run local as a AWS lambda function I got the following error:
Unable to import module ‘GetQuotes/lambda_function’: No module named ‘pymssql’

But pymssql is installed in my environment.

ec2-user:~/environment $ python3 -m pip install pymssql
Requirement already satisfied: pymssql in /usr/local/lib64/python3.6/site-packages

ec2-user:~/environment $ python -m pip install pymssql
Requirement already satisfied: pymssql in /usr/local/lib64/python2.7/site-packages

And in the configuration of my environment, I select Python 3.

Is there anything missing to run my python3 code as an AWS Lambda function?

Thanks !!