【发布时间】:2015-06-24 23:20:24
【问题描述】:
我使用的是 Windows 7。目的是让 nbconvert 正常工作。我有最新的 ipython 版本 3.1.0,或 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
我成功安装了 pbs,但没有解决这个问题。请帮忙。
【问题讨论】:
标签: python ipython-notebook pandoc