Reputation: 61
I need to deploy an application on AWS Lambda in python . This app is based on Google API SDK, which require a crypto library such as pyOpenSSL. But, contrary to other libs which are included in my package by doing something like this :
pip install myLib -t \my_path\to_my_package\
, the pyOpenSSL seems to be a part of python. It's implemented while compiling or via
apt-get install pyopenssl
.
I have no clue on what to do to import this lib without depending on the python version and its modules.
Thanks in advance
Upvotes: 3
Views: 938
Reputation: 61
The solution was to install the package "Crypto" in my package and make a :
import Crypto
That solved the problem.
Upvotes: 2