Git Product home page Git Product logo

Comments (5)

HPicatto avatar HPicatto commented on July 20, 2024

worth to add, we run the same asset on Databricks, that runs on EC2 instances under the hood, and it does work with no issue in the newer version... so the problem is in when we submit it directly using the dagster_aws

from dagster.

gibsondan avatar gibsondan commented on July 20, 2024

This is very odd. On a new EMR instance, running pip freeze shows:

python-dateutil==2.8.1

But going into python and checking dateutil's version gives

>>> import dateutil
>>> dateutil.__version__
'2.2'

from dagster.

gibsondan avatar gibsondan commented on July 20, 2024

Oh weird, are there two dateutils in the default EMR python environment??

py-dateutil==2.2
python-dateutil==2.8.1

from dagster.

gibsondan avatar gibsondan commented on July 20, 2024

@HPicatto can you try pip uninstalling py-dateutil? That fixed the problem for me. Very odd that the default EMR environment includes both, py-dateutil had a single 2.2 release almost a decade ago: https://pypi.org/project/py-dateutil/#history

from dagster.

gibsondan avatar gibsondan commented on July 20, 2024

Raised this with AWS here: https://repost.aws/questions/QUl4F36LBhQu-TPbgalNJ-sQ/default-emr-spark-python-environment-contains-two-different-versions-of-the-dateutil-package

from dagster.

Related Issues (20)

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.