greatexpectationslabs / great_expectations_lambda Goto Github PK
View Code? Open in Web Editor NEWMinimal deployment of Great Expectations on lambda
License: Apache License 2.0
Minimal deployment of Great Expectations on lambda
License: Apache License 2.0
Hi there,
First off, thank you for this guide for the Lambda set up! It was relatively easy to follow along and figure out :)
I have a persistent issue where I try to hit the api endpoint and get an internal server error. Digging through Cloudwatch I am posed with the following:
| 2020-07-15T21:48:05.896-04:00 | deps loaded to tmp
-- | -- | --
| 2020-07-15T21:48:05.938-04:00 | api - ERROR - Caught exception for <function index at 0x7f9916c773b0>
| 2020-07-15T21:48:05.938-04:00 | Traceback (most recent call last):
| 2020-07-15T21:48:05.938-04:00 | File "/var/task/chalice/app.py", line 1111, in _get_view_function_response
| 2020-07-15T21:48:05.938-04:00 | response = view_function(**function_args)
| 2020-07-15T21:48:05.938-04:00 | File "/var/task/app.py", line 16, in index
| 2020-07-15T21:48:05.938-04:00 | import great_expectations
| 2020-07-15T21:48:05.938-04:00 | File "/opt/python/lib/python3.7/site-packages/great_expectations/__init__.py", line 7, in <module>
| 2020-07-15T21:48:05.938-04:00 | from great_expectations.data_context import DataContext
| 2020-07-15T21:48:05.938-04:00 | File "/opt/python/lib/python3.7/site-packages/great_expectations/data_context/__init__.py", line 3, in <module>
| 2020-07-15T21:48:05.938-04:00 | from .data_context import BaseDataContext, DataContext, ExplorerDataContext
| 2020-07-15T21:48:05.938-04:00 | File "/opt/python/lib/python3.7/site-packages/great_expectations/data_context/data_context.py", line 17, in <module>
| 2020-07-15T21:48:05.938-04:00 | from marshmallow import ValidationError
| 2020-07-15T21:48:05.938-04:00 | ModuleNotFoundError: No module named 'marshmallow'
I've tried everything I can think of to attempt to make sure Marshmallow is getting installed, but to no avail. Things I've tried:
I've verified that Marshmallow is being installed when running the build script as well.
Additionally, I am getting an error when attempting to run the layer build script, I'm not sure if it could be related to the Marshmallow package not being found.
Running on Windows 10. Build script is run using cygwin and the remainder of the guide is completed using PyCharm and it's terminal included in the IDE.
Let me know if there's anything else I can include.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.