Cannot run AWS Lambda using snowflake-connector
up vote
1
down vote
favorite
When I deployed my lambda and try to run it, it generates the following error:
libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
Why? What can I do about it? I have in my requirements.txt the following.
snowflake-connector-python
jsonschema>=2.6.0
coverage
aws-lambda python-3.6 compatibility python-3.7 snowflake-datawarehouse
add a comment |
up vote
1
down vote
favorite
When I deployed my lambda and try to run it, it generates the following error:
libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
Why? What can I do about it? I have in my requirements.txt the following.
snowflake-connector-python
jsonschema>=2.6.0
coverage
aws-lambda python-3.6 compatibility python-3.7 snowflake-datawarehouse
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
When I deployed my lambda and try to run it, it generates the following error:
libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
Why? What can I do about it? I have in my requirements.txt the following.
snowflake-connector-python
jsonschema>=2.6.0
coverage
aws-lambda python-3.6 compatibility python-3.7 snowflake-datawarehouse
When I deployed my lambda and try to run it, it generates the following error:
libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
Why? What can I do about it? I have in my requirements.txt the following.
snowflake-connector-python
jsonschema>=2.6.0
coverage
aws-lambda python-3.6 compatibility python-3.7 snowflake-datawarehouse
aws-lambda python-3.6 compatibility python-3.7 snowflake-datawarehouse
edited 2 days ago
asked Oct 18 at 8:56
Niklas Rosencrantz
6,93248150312
6,93248150312
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
1
down vote
accepted
AWS Supports Python3.6 runtime, while error describing "python3.7". Have you build it with python3.7 support.
P.S.
I am assuming you followed official tutorial
add a comment |
up vote
2
down vote
Pls follow instructions from here https://github.com/snowflakedb/examples/tree/master/lambda_function
If you run into issues, raise it there on github.
add a comment |
up vote
0
down vote
I had built the snowflake connector with Python 3.7 (latest Alpine Linux container). When I changed container and built it with python:jessie and Python 3.6 then everything worked.
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
AWS Supports Python3.6 runtime, while error describing "python3.7". Have you build it with python3.7 support.
P.S.
I am assuming you followed official tutorial
add a comment |
up vote
1
down vote
accepted
AWS Supports Python3.6 runtime, while error describing "python3.7". Have you build it with python3.7 support.
P.S.
I am assuming you followed official tutorial
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
AWS Supports Python3.6 runtime, while error describing "python3.7". Have you build it with python3.7 support.
P.S.
I am assuming you followed official tutorial
AWS Supports Python3.6 runtime, while error describing "python3.7". Have you build it with python3.7 support.
P.S.
I am assuming you followed official tutorial
answered Oct 18 at 9:18
Butuzov
1,13021016
1,13021016
add a comment |
add a comment |
up vote
2
down vote
Pls follow instructions from here https://github.com/snowflakedb/examples/tree/master/lambda_function
If you run into issues, raise it there on github.
add a comment |
up vote
2
down vote
Pls follow instructions from here https://github.com/snowflakedb/examples/tree/master/lambda_function
If you run into issues, raise it there on github.
add a comment |
up vote
2
down vote
up vote
2
down vote
Pls follow instructions from here https://github.com/snowflakedb/examples/tree/master/lambda_function
If you run into issues, raise it there on github.
Pls follow instructions from here https://github.com/snowflakedb/examples/tree/master/lambda_function
If you run into issues, raise it there on github.
answered Oct 18 at 16:52
Vikas Jain
461
461
add a comment |
add a comment |
up vote
0
down vote
I had built the snowflake connector with Python 3.7 (latest Alpine Linux container). When I changed container and built it with python:jessie and Python 3.6 then everything worked.
add a comment |
up vote
0
down vote
I had built the snowflake connector with Python 3.7 (latest Alpine Linux container). When I changed container and built it with python:jessie and Python 3.6 then everything worked.
add a comment |
up vote
0
down vote
up vote
0
down vote
I had built the snowflake connector with Python 3.7 (latest Alpine Linux container). When I changed container and built it with python:jessie and Python 3.6 then everything worked.
I had built the snowflake connector with Python 3.7 (latest Alpine Linux container). When I changed container and built it with python:jessie and Python 3.6 then everything worked.
answered Oct 19 at 4:57
Niklas Rosencrantz
6,93248150312
6,93248150312
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52870445%2fcannot-run-aws-lambda-using-snowflake-connector%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password