2021年3月20日星期六

Conda: How to install latest version of `pandoc-crossref` from Github in `conda` environment?

pandoc-crossref must match the pandoc version, and also only the 3.10.0 release works on OSX Big Sur. Thus, it is not possible to get pandoc and pandoc-crossref running in a conda environment from the official channel or from conda-forge.

I could easily download the matching binaries from https://github.com/lierdakil/pandoc-crossref/releases/tag/v0.3.10.0 and copy them e.g. to the binpath:

$ which pandoc-crossref  /usr/local/bin/pandoc-crossref  $ curl -OL https://github.com/lierdakil/pandoc-crossref/releases/download/v0.3.10.0/pandoc-crossref-macOS.tar.xz   $ tar -xzvf pandoc-crossref-macOS.tar.xz  $ mv pandoc-crossref /usr/local/bin/pandoc-crossref  

But I think that is not a clean approach, because conda will not know that I updated the version for pandoc-crossref.

What is a clean approach for updating a package managed by conda from a binary available on Github?

https://stackoverflow.com/questions/66623506/conda-how-to-install-latest-version-of-pandoc-crossref-from-github-in-conda March 14, 2021 at 06:38PM

没有评论:

发表评论