tomduck/pandoc-eqnos

"Could not find executable pandoc-xnos" error on Mac OS

Opened this issue · 2 comments

I installed pandoc-xnos on Mac OS (10.15.6) using pip3 install pandoc-fignos pandoc-eqnos pandoc-tablenos pandoc-secnos, but when I try to run pandoc with --filter pandoc-xnos I get an error:

Error running filter pandoc-xnos:
Could not find executable pandoc-xnos

Other filters pandoc-fignos, pandoc-eqnos, pandoc-secnos, pandoc-tablenos work.

The output of pip3 show --files pandoc-xnos:

Name: pandoc-xnos
Version: 2.5.0
Summary: Library code for the pandoc-xnos filter suite.
Home-page: https://github.com/tomduck/pandoc-xnos
Author: Thomas J. Duck
Author-email: tomduck@tomduck.ca
License: GPL
Location: /Users/user/Library/Python/3.9/lib/python/site-packages
Requires: psutil, pandocfilters
Required-by: pandoc-tablenos, pandoc-secnos, pandoc-fignos, pandoc-eqnos
Files:
  ../../../bin/pandoc-xnos
  pandoc_xnos-2.5.0.dist-info/AUTHORS
  pandoc_xnos-2.5.0.dist-info/INSTALLER
  pandoc_xnos-2.5.0.dist-info/LICENSE
  pandoc_xnos-2.5.0.dist-info/METADATA
  pandoc_xnos-2.5.0.dist-info/RECORD
  pandoc_xnos-2.5.0.dist-info/WHEEL
  pandoc_xnos-2.5.0.dist-info/entry_points.txt
  pandoc_xnos-2.5.0.dist-info/top_level.txt
  pandocxnos/__init__.py
  pandocxnos/__pycache__/__init__.cpython-39.pyc
  pandocxnos/__pycache__/core.cpython-39.pyc
  pandocxnos/__pycache__/main.cpython-39.pyc
  pandocxnos/__pycache__/pandocattributes.cpython-39.pyc
  pandocxnos/core.py
  pandocxnos/main.py
  pandocxnos/pandocattributes.py

Hi,

I had the same issue. Check that you are not using anaconda or other venv when installing pandoc-fignos. I installed it properly after deactivating conda with conda deactivate.

I am facing exactly the same issue as @kvaleev

@kstopa conda deactivate doesn't work. I never had conda installed and installing pandoc-xnos on Mac OS using pip3 gives the same error.