nbconvert >= 4.0 none(NOK)

7,313 views
Skip to first unread message

Mr._B. D.

unread,
Jan 21, 2017, 7:29:25 PM1/21/17
to spyder
Spyder keeps saying I am missing dependencies. I update and when I install it still says nbconvert is missing. Please help!

Jitse Niesen

unread,
Jan 22, 2017, 7:20:56 AM1/22/17
to spyder
You should install nbconvert in the same way as you installed spyder.

If that does not help, please tell us how you installed spyder, how you installed and upgraded nbconvert, and what OS you are on.

Jitse

smxx2

unread,
Feb 1, 2017, 4:21:29 AM2/1/17
to spyder
Hello, I had the same issue even though I had jupyter-nbconvert installed trough my package manager. The problem was that nbconvert was only installed for python 3.6 and I am using python 2.7, so I had to manually install it trough pip which solved the problem.

Mark Ettinger

unread,
Feb 14, 2017, 2:57:53 PM2/14/17
to spyder

Just upgraded to spyder 3.1.2 using conda and got this error:

You have missing dependencies!

nbconvert >=4.0: None (NOK)


Please install them to avoid this message.

Note: Spyder could work without some of these dependencies, however to have a smooth experience when using Spyder we strongly recommend you to install all the listed missing dependencies.

Failing to install these dependencies might result in bugs. Please be sure that any found bugs are not the direct result of missing dependencies, prior to reporting a new issue.

I'm on macOS Sierra, 10.12.1

conda list spyder yields:

spyder                    3.1.2                    py27_0    conda-forge

conda list nbconvert yields:

nbconvert                 5.1.1                    py27_0    conda-forge

hmchan...@gmail.com

unread,
Feb 17, 2017, 2:58:21 PM2/17/17
to spyder
Hi Mark,

Can you do the following in a terminal and post the message you get?

python -c 'import nbconvert'

Mark Ettinger

unread,
Feb 17, 2017, 4:38:13 PM2/17/17
to spyder

I updated configparser per the output below and all is good, though I already had configparser installed.

$ python -c 'import nbconvert'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/marke/anaconda/lib/python2.7/site-packages/nbconvert/__init__.py", line 4, in <module>
    from .exporters import *
  File "/Users/marke/anaconda/lib/python2.7/site-packages/nbconvert/exporters/__init__.py", line 1, in <module>
    from .base import (export, get_exporter,
  File "/Users/marke/anaconda/lib/python2.7/site-packages/nbconvert/exporters/base.py", line 8, in <module>
    import entrypoints
  File "/Users/marke/anaconda/lib/python2.7/site-packages/entrypoints.py", line 16, in <module>
    from backports import configparser
ImportError: cannot import name configparser

Carlos Córdoba

unread,
Feb 17, 2017, 4:57:45 PM2/17/17
to spyd...@googlegroups.com
Did you install somethings with pip and others with conda at any point?

El 17/02/17 a las 15:02, Mark Ettinger escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Mark Ettinger

unread,
Feb 17, 2017, 5:03:36 PM2/17/17
to spyder

My old configparser may have been pip, I'm not sure.  My current one is conda and I'm not getting the error message anymore.

Carlos Córdoba

unread,
Feb 17, 2017, 5:05:46 PM2/17/17
to spyd...@googlegroups.com
Ok, please try to avoid mixing pip and conda packages as much as possible. I mean, you should use pip *only* to install packages that are not available for conda.

El 17/02/17 a las 17:03, Mark Ettinger escribió:

Mark Ettinger

unread,
Feb 17, 2017, 6:23:00 PM2/17/17
to spyder

Yes, that is the policy I follow.  The only exception is when I need a version that is not available on conda.  For example, even though tensorflow 0.12 is available via conda, tensorflow 1.0 is only available via pip.

Usman Akhtar

unread,
May 13, 2017, 12:06:59 PM5/13/17
to spyder
Just use this command

sudo pip install --upgrade spyder

Robson Pandolfi

unread,
Jul 7, 2017, 12:14:33 AM7/7/17
to spyder

Try to reinstall configparser:


conda uninstall configparser
conda install configparser


It worked for me.

Reply all
Reply to author
Forward
0 new messages