boisgera / pandoc

Pandoc (Python Library)
https://boisgera.github.io/pandoc/
MIT License
143 stars 16 forks source link

latest pip version does not work #48

Closed arisliang closed 2 years ago

arisliang commented 2 years ago

After following the installation at https://pypi.org/project/pandoc/,

when running pandoc.read, it gives error:

pandoc 2.18 is not registered

conda pandoc version is 2.18, but pip is 2.1.

Do we still need the pip version after installed from conda?

boisgera commented 2 years ago

Hi @arisliang,

You need to install:

The catch: you need to install a version of pandoc (CLI) that is registered with pandoc (the Python lib). I didn't notice that a new version (2.18) was released 2 weeks ago so the current version of pandoc (Python) supports only up to 2.17.1.

Thanks for bringing up this issue; I'll have a look on the changes introduced by the 2.18 changes and if everything goes smoothly, upload a new version of pandoc (Python) to Pypi.

Cheers,

SB

boisgera commented 2 years ago

I made a new Pypi release (version 2.2) to support pandoc 2.18 (see df0c3c510569a0b07c835821d07f37d04feaf355).

Can you try again?

Cheers

SB

arisliang commented 2 years ago

Yes, it's working with latest pypi release. Thanks!