Code Monkey home page Code Monkey logo

Comments (6)

KhaledSharif avatar KhaledSharif commented on June 10, 2024

Hi Brunnerdan, thanks for your question! Type hinting in Python was introduced in Python 3.5. You seem to be trying to run Athena on a version of Python that predates 3.5. You can read more about type hinting at this link.

from athena.

brunnerdan avatar brunnerdan commented on June 10, 2024

Yes. Still using 2.7. This is the first I've encountered on type hinting. Look as though it can be made backward-compatible:
https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code

from athena.

KhaledSharif avatar KhaledSharif commented on June 10, 2024

Interesting article. I'll work on compatibility issues during the next few days and I'll hopefully report back here once I've solved them all. Thanks!

from athena.

brunnerdan avatar brunnerdan commented on June 10, 2024

Thanks!

from athena.

KhaledSharif avatar KhaledSharif commented on June 10, 2024

Hi @brunnerdan, good news! My last commit adds Python 2.7 compatibility. I tested out the basic example with Docker and it worked well. Tell me if this fixes your issue and/or if you need anything else.

from athena.

brunnerdan avatar brunnerdan commented on June 10, 2024

Great! I'm occupied with another project right now, so I cannot test this. But if it worked for you in 2.7, it should be good.

from athena.

Related Issues (3)

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.