LearningRegistry/LearningRegistry — Issue #190: Yajl build error using Wiki's Windows installation instructions
Author: aworkman
Created: 2012-02-14 18:47:50+00:00
State: open

After following the instructions in the Wiki's Windows installation guide as well as using the troubleshooting guide Yajl appears to build fine but after dropping the .dll file into the Windows system folder and testing `import ijson` the following error is returned:

```python

>>> import ijson
Traceback (most recent call last):
File "", line 1, in
File "C:\dev\virtualenv\lr\lib\site-packages\ijson\__init__.py", line 1, in
from ijson.parse import JSONError, IncompleteJSONError, \
File "C:\dev\virtualenv\lr\lib\site-packages\ijson\parse.py", line 5, in
from ijson.lib import yajl
File "C:\dev\virtualenv\lr\lib\site-packages\ijson\lib.py", line 19, in
yajl.yajl_gen_alloc2.restype = POINTER(c_char)
File "C:\Python27\Lib\ctypes\__init__.py", line 366, in __getattr__
func = self.__getitem__(name)
File "C:\Python27\Lib\ctypes\__init__.py", line 371, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: function 'yajl_gen_alloc2' not found
```
error was reproduced on two Windows 7 boxes independently