我正在尝试使用 JSON 流媒体来解析一个 11gb 的大型 JSON 文件。JSONstreamer 似乎是唯一一个无需先将整个文件加载到内存即可流式传输文件的包。
当我尝试在 python 中导入 jsonstreamer 时,出现此错误。
OSError: Yajl cannot be found.
当我尝试 pip install yajl 我得到这个错误:
File "C:\Python34\lib\subprocess.py", line 1112, in _execute_child startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
但是所有文件都在那里
我从他们的网页下载了 yajl.dll 文件并将其添加到我的 C:\Windows\SysWOW64 目录中。
真的不知道如何继续,因为我似乎被困住了。