Git Product home page Git Product logo

Comments (3)

rtobar avatar rtobar commented on September 15, 2024

@JoejynWan thanks for the detailed report.

Sadly I won't be able to replicate your environment, so I'm working solely in your information and on hopefully educated guesses.

How did you install ijson? Was that using cinda itself, or via pip? What I'd basically like to know is whether you got the ijson binary wheel that we publish in PyPI (that should include the yajl2_c backend) or not. When using pip you should have gotten that (we have binary wheels for wib32/64 for python 3.9), but I'm not sure what happens when "cinda installing" ijson (do they provide their own compiled-or-not-actually-conpiled package?). In other words, try installibg via pip as that should give you a compiled package

Regarding ctyoes bit finding your yajl library: I'm not expert on how Windows finds DLLs, even less how cobda organised them. However ijson has an option to point to a yajl DLL directly:

so_name = os.getenv('YAJL_DLL') or util.find_library('yajl')

Give that a try and hopefully you'll be able to use the ctypes-and cffi-based backends.

from ijson.

JoejynWan avatar JoejynWan commented on September 15, 2024

@rtobar Thank you so much for your quick reply.

I had previously installed ijson with conda, and that does seem to be the problem. I uninstalled it and installed ijson with pip (though yajl is still installed with conda since I somehow could not get it to install with pip) and it worked.

Thanks so much again!

from ijson.

rtobar avatar rtobar commented on September 15, 2024

@JoejynWan thanks for confirming that it's all good now, I'm happy I could be of assistance.

from ijson.

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.