Giter VIP home page Giter VIP logo

Comments (14)

bendog avatar bendog commented on July 21, 2024 3

Perhaps we should just drop support for python2 as it only has a couple of months left?

from nodb.

FlipperPA avatar FlipperPA commented on July 21, 2024 2

I want to talk to @Miserlou before we publish to PyPI, but for now, can you:

pip install git+https://github.com/Miserlou/NoDB.git@4616921

from nodb.

bendog avatar bendog commented on July 21, 2024

which version are you using?

from nodb.

brooksc avatar brooksc commented on July 21, 2024

Hitting the same issue with python 3.6.3

using the same sample code as above and from the readme.

from nodb.

tkuster-drod avatar tkuster-drod commented on July 21, 2024

Which version of NoDB? All the has_keys were removed from the code base and other changes to make it python3 compatible in v0.4. v0.3.3 would still have them and it is not python3 compatible.

from nodb.

ori-n avatar ori-n commented on July 21, 2024

from nodb.

brooksc avatar brooksc commented on July 21, 2024

I also did a pip install nodb and it installed nodb 0.3.2.

Do you have plans to push the newer version to pypi?

from nodb.

ori-n avatar ori-n commented on July 21, 2024

Is there any progress with this issue? Thanks

from nodb.

FlipperPA avatar FlipperPA commented on July 21, 2024

I don't have access to push this to PyPI, but for now, you can:

pip install git+https://github.com/Miserlou/NoDB.git@4616921

You can also add this to your requirements file:

git+https://github.com/Miserlou/NoDB.git@4616921

from nodb.

antgel avatar antgel commented on July 21, 2024

I'm also seeing this, thanks @FlipperPA for the workaround.

from nodb.

antgel avatar antgel commented on July 21, 2024

However, there's a problem with @FlipperPA 's workaround. I'm trying to deploy a Falcon app to Elastic Beanstalk with Python 3.6. However, futures being installed which breaks the deploy. Therefore it seems impossible to use nodb in this context at the moment.

from nodb.

FutureSharks avatar FutureSharks commented on July 21, 2024

I have the same problem as @antgel

Using commit ID 4616921, it installs futures>=3.0.5 which is only for Python2.

For me on AWS Lambda this doesn't work:

Syntax error in module 'main': invalid syntax (_base.py, line 381)

Issue is here: agronholm/pythonfutures#41
Some info here: https://pypi.org/project/futures/

Python 3 users should not attempt to install it, since the package is already included in the standard library

Workaround

Delete <python path>/concurrent and <python path>/futures* from your zip package. It's hacky but I don't know a better way.

from nodb.

bendog avatar bendog commented on July 21, 2024

i've removed futures from requirements.txt in the latest pull request #26
this should resolve this issue

from nodb.

bendog avatar bendog commented on July 21, 2024

this will be resolved with #19

from nodb.

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.