Skip to content
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

cannot init pandoc-include #3

Open
PeterSommerlad opened this issue Feb 22, 2021 · 1 comment
Open

cannot init pandoc-include #3

PeterSommerlad opened this issue Feb 22, 2021 · 1 comment

Comments

@PeterSommerlad
Copy link

PeterSommerlad commented Feb 22, 2021

running inlcude-pandoc on macos with python 3.9 (installed via homebrew) creates the following error:

$ include-pandoc --update
updating pandoc wrapper... Traceback (most recent call last):
  File "/usr/local/bin/include-pandoc", line 51, in <module>
    create_addargs()
  File "/usr/local/lib/python3.9/site-packages/include_pandoc/createaddargs.py", line 35, in create_addargs
    version = " ".join(v.splitlines()[:2])
TypeError: sequence item 0: expected str instance, bytes found
@martinsramek
Copy link

I had the same issue. Solved it by installing python2, pip2 and then include-pandoc via pip2. include-pandoc is compatible with python2.x but not python 3.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants