GithubHelp home page GithubHelp logo

greatexpectationslabs / great_expectations_lambda Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 63.66 MB

Minimal deployment of Great Expectations on lambda

License: Apache License 2.0

Python 49.89% Shell 24.44% HCL 25.67%

great_expectations_lambda's People

Contributors

abegong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

patechoc

great_expectations_lambda's Issues

Issue with Marshmallow Module Not Being Found

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:

  • Changing the version in ge-requirements.txt
    -- Forcing a version (2.2.0, 3.7.0, etc.)
    --No version specified
  • Reunning the build_layer.sh script with the above changes
  • Attempting to manually add marshmallow to the deps zip (this was more out of desperation, I figured it wouldn't work)

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.