Ask Your Question
0

ImportError: cannot import name kernelmanager

asked 2013-06-08 06:10:31 -0500

nerdfury gravatar image

First off, sorry if this is a stupid question, but i can't seem to solve this for myself...

I am trying to run the command

simplecv notebook --pylab=inline

but getting the following error:

ERROR: Traceback (most recent call last): File "/usr/local/bin/simplecv", line 8, in <module> loadentrypoint('SimpleCV==1.3', 'consolescripts', 'simplecv')() File "/Library/Python/2.7/site-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 234, in main runnotebook(sys.argv[1:]) File "/Library/Python/2.7/site-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 186, in run_notebook from IPython.frontend.html.notebook import kernelmanager ImportError: cannot import name kernelmanager

Platform: OSX 10.8

python --version Python 2.7.2

ipython --version 1.0.dev

any help would be massively appreciated. cheers.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2013-06-17 12:03:37 -0500

sjjones gravatar image

I just ran into this same problem. I checked the source code of ipython, and it looks like they changed the directory structure from the last stable version 0.13.2 to the 1.0.dev. If you revert to the ipython stable version, it should solve this problem.

https://github.com/ipython/ipython/blob/0.13.x/IPython/frontend/html/notebook/kernelmanager.py https://github.com/ipython/ipython/tree/master/IPython/frontend/html/notebook

edit flag offensive delete link more

Comments

After installing Ipython 1.1.0, I installed the 0.13.1 version from a year ago. Now I can successfully execute: $ simplecv notebook --pylab=inline

LeslieK gravatar imageLeslieK ( 2014-01-24 11:01:39 -0500 )edit

UPDATE: I can launch IPython notebook BUT it doesn't work for me. image.save(display) does not display inline. Lots of errors which are mentioned in this forum. For example, there is an error related to a bad filename, where the file is a temp file. Has anyone ever gotten SimpleCV to work with the IPython notebook?

LeslieK gravatar imageLeslieK ( 2014-01-25 22:15:20 -0500 )edit
0

answered 2014-09-15 19:43:45 -0500

simplecv notebook does not work anymore since version 0.13.2 of ipython notebook, but you can still integrate img.show () in ipython notebook easily with:

from SimpleCV import *
init_options_handler.enable_notebook()
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-08 06:10:31 -0500

Seen: 679 times

Last updated: Sep 15 '14