-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAJL backend not working in Win/Conda #74
Comments
@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 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: ijson/ijson/backends/__init__.py Line 35 in 3100b96
Give that a try and hopefully you'll be able to use the ctypes-and cffi-based backends. |
@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! |
@JoejynWan thanks for confirming that it's all good now, I'm happy I could be of assistance. |
I am trying to implement ijson, and have troubles using the yajl2/yajl2_cffi/yajl2_c backends. I have no problems when using the default python backend, but this is working exceptionally slowly so when I try to implement the other backends, I am facing the following errors:
Implementing the yajl2_cffi backend:
Implementing the yajl2_c backend:
Implementing the yajl2 backend:
I believe that I do have the required packages installed within the Anaconda package. Is this issue due to
ctypes
not being able to find the yajl package within the conda environment? Would greatly appreciate some assistance. Thank you.Execution information:
The text was updated successfully, but these errors were encountered: