Error installing pandoc
I am using Windows 7. The goal is to get nbconvert to work. I have the latest ipython 3.1.0 or jupyter.
C:\Users\yang>pip install pandoc
Collecting pandoc
Using cached pandoc-1.0.0a8.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "c:\users\yang\appdata\local\temp\pip-build-_lwwnn\pandoc\setup.py",
line 27, in <module>
import about
File "c:\users\yang\appdata\local\temp\pip-build-_lwwnn\pandoc\.lib\about\
__init__.py", line 17, in <module>
import sh
File "c:\users\yang\appdata\local\temp\pip-build-_lwwnn\pandoc\.lib\sh.py"
, line 37, in <module>
support." % __version__)
ImportError: sh 1.11 is currently only supported on linux and osx. please in
stall pbs 0.110 (http://pypi.python.org/pypi/pbs) for windows support.
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\yang
\appdata\local\temp\pip-build-_lwwnn\pandoc
I installed pbs successfully but didn't solve this problem. Please help.
source to share
The package pandoc
requires a package sh
. This results in sh
1.11 being installed . sh
appears to be a successorpbs
, but no longer supports Windows .
So unfortunately the package pandoc
does not support Windows either as it tries to import sh
instead of pbs
. You can consider the issue. Perhaps while you could use pypandoc
.
source to share