Open wsfreund opened 9 years ago
Can you test with the latest master of nbconvert? There have been some fixes to latex export since the last release.
I have found the following packages:
~/.pyenv/versions/2.7.4/lib/python2.7/site-packages/nbconvert
~/.pyenv/versions/2.7.4/lib/python2.7/site-packages/notebook/services/nbconvert
~/.pyenv/versions/2.7.4/lib/python2.7/site-packages/notebook/nbconvert
And tried to update all of them, but only the first would have a minor update. I couldn't find the equivalent package to what (if I'm right) should be this one with recent commits. Where should I find the package and update it to HEAD?
There's only one nbconvert package. The nbconvert directories in the notebook package are web APIs that aren't relevant. Leave them as they are.
This should install the latest nbconvert:
pip install -e git+https://github.com/jupyter/nbconvert#egg=nbconvert
I'm having the following issue when attempting to update nbconvert. I had to install pycurl using
export PYCURL_SSL_LIBRARY="nss"
easy_install pycurl
It would them remove misleading error from here, which in fact wasn't that I hadn't it installed, but that when I tried to import it I would have:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "build/bdist.linux-x86_64/egg/pycurl.py", line 7, in <module>
File "build/bdist.linux-x86_64/egg/pycurl.py", line 6, in __bootstrap__
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)
But now I have this other error that I wasn't able to solve…
Installing collected packages: nbconvert
Running setup.py develop for nbconvert
Complete output from command /afs/cern.ch/user/w/wsfreund/.pyenv/versions/2.7.4/bin/python2.7 -c "import setuptools, tokenize; __file__='/afs/cern.ch/user/w/wsfreund/src/nbconvert/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
/afs/cern.ch/user/w/wsfreund/.pyenv/versions/2.7.4/lib/python2.7/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '4.1.0.dev' to '4.1.0.dev0'
normalized_version,
running develop
running css
Failed, trying again with PycURL to avoid outdated SSL.
Failed to download css from https://cdn.jupyter.org/notebook/4.0.1/style/style.min.css: (35, 'SSL connect error')
Downloading CSS: https://cdn.jupyter.org/notebook/4.0.1/style/style.min.css
error: None
----------------------------------------
Command "/afs/cern.ch/user/w/wsfreund/.pyenv/versions/2.7.4/bin/python2.7 -c "import setuptools, tokenize; __file__='/afs/cern.ch/user/w/wsfreund/src/nbconvert/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop —no-deps" failed with error code 1 in /afs/cern.ch/user/w/wsfreund/src/nbconvert
Ok, I've managed to update by downloading by hand (wget https://cdn.jupyter.org/notebook/4.0.1/style/style.min.css
) and editing the setup.py file to use the downloaded path. However, I still get the same error as I first described.
When I try to run
ipython nbconvert —to pdf Creating_and_configuring_CERN_VM_for_ATLAS.ipynb
(gist), I get the following error:Debug information:
I am using:
and
I would appreciate any help on this.