pandocfilters
pandocfilters copied to clipboard
defenv.py: AttributeError: 'module' object has no attribute 'string'
Dear @01mf02 ,
I threw the file defenv.py
in my pandoc folder and installed 2 dependencies on opensuse with:
pip2 install --user parse pythonfilters
Pandoc finds the filter and executes it with python2.7, but I get still an error:
File "/home/.../defenv.py", line 56, in defenv
parse_typ = parse.string
AttributeError: 'module' object has no attribute 'string'
Error running filter /home/.../defenv.py:
Filter returned error status 1
Can you tell me which python version you are using? The line 56 mentioned above has:
parse_typ = parse.string
Best, Robert