I'm unable to use nbconvert from the command line or from within the 
jupyter notebook.

===============================================================================
[user@host ~]$ jupyter nbconvert --to latex test1.ipynb --log-level=DEBUG

Traceback (most recent call last):
  File "/usr/bin/jupyter-nbconvert", line 11, in <module>
    load_entry_point('nbconvert', 'console_scripts', 'jupyter-nbconvert')()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
570, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
2687, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
2341, in load
    return self.resolve()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
2347, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/mitchw/Downloads/nbconvert/nbconvert/__init__.py", line 4, in 
<module>
    from .exporters import *
  File "/home/mitchw/Downloads/nbconvert/nbconvert/exporters/__init__.py", 
line 1, in <module>
    from .base import (export, get_exporter, 
  File "/home/mitchw/Downloads/nbconvert/nbconvert/exporters/base.py", line 
10, in <module>
    from traitlets.log import get_logger
ImportError: No module named traitlets.log


[user@host ~]$ sudo pip install --upgrade traitlets
[sudo] password for user: 
Requirement already up-to-date: traitlets in 
/usr/lib/python2.7/site-packages
Requirement already up-to-date: six in /usr/lib/python2.7/site-packages 
(from traitlets)
Requirement already up-to-date: enum34; python_version == "2.7" in 
/usr/lib/python2.7/site-packages (from traitlets)
Requirement already up-to-date: ipython-genutils in 
/usr/lib/python2.7/site-packages (from traitlets)
Requirement already up-to-date: decorator in 
/usr/lib/python2.7/site-packages (from traitlets)

================================================================================

Thank you for any suggestions!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to