Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing pandoc

I'm using windows 7. The purpose is to get nbconvert working. I have the latest ipython version 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 did not resolve this issue. Please help.

like image 941
aurthes yang Avatar asked Mar 06 '26 03:03

aurthes yang


1 Answers

pandoc is not a Python package. Try installing the latest release from here. Here's a direct link.

like image 159
Vaibhav Sagar Avatar answered Mar 07 '26 17:03

Vaibhav Sagar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!