GithubHelp home page GithubHelp logo

Comments (4)

TomDonoghue avatar TomDonoghue commented on August 17, 2024

Hey! Thanks for trying it out!

That is a new error to me. Which version of Python are you using?

Given that error, it would appear that we do have a minimum version required for json, but not having encountered this before, I'm not sure what version that is, and whether we can relax that on our end, or whether you will perhaps need a newer version of Python.

from fooof.

dvwz avatar dvwz commented on August 17, 2024

I am using Python 2.7.13. Or was -- I changed my version of Python to 3.6.0 and it just worked.

I went back to 2.7.13 and found the version of json, which is 2.0.9 in that installation. And then I went to 3.6.0, and printed the json version, and it's also 2.0.9! I wonder if there's something else going on between Python and this json version.

Anyway, thanks for suggesting to upgrade.

from fooof.

TomDonoghue avatar TomDonoghue commented on August 17, 2024

Ahh, okay - yeh, so it does require python3 to run properly, in particular 3.5 & 3.6.

I'm not too clear on the version numbering for the json module in particular, but in the python3 json docs it does note that the JSONDecodeError is new in 3.5, so it does seem it's just not available in the older 2.7 json module (mentioned in docs here: https://docs.python.org/3/library/json.html?highlight=json#json.JSONDecodeError).

I'm somewhat surprised that that is the first error that pops up when trying to run with 2.7, and it is not particularly helpful regarding the underling problem. We should add a more explicit check that will fail informatively when using a too early version of python.

Now that you have it up and running, please do let us now of any other comments or quirks you find as you test it out!

from fooof.

dvwz avatar dvwz commented on August 17, 2024

Absolutely! Thanks Tom

from fooof.

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.