Ask Your Question
0

Cant start SimpleCV notebook

asked 2012-10-04 23:28:48 -0600

mogen317 gravatar image

Hello, I have a ubuntu 12.04 machine that I'm trying to install SimpleCV on. I've done:

sudo apt-get install ipython python-opencv python-scipy python-numpy python-pygame python-setuptools python-pip 
sudo pip install https://github.com/ingenuitas/SimpleCV/zipball/master
sudo pip install tornado
sudo pip install pyzmq

the SimpleCV shell runs fine, but simplecv notebook fails with:

ERROR: 
Traceback (most recent call last):
  File "/usr/local/bin/simplecv", line 9, in <module>
    load_entry_point('SimpleCV==1.3', 'console_scripts', 'simplecv')()
  File "/usr/local/lib/python2.7/dist-packages/SimpleCV/Shell/Shell.py", line 198, in main
    run_notebook()
  File "/usr/local/lib/python2.7/dist-packages/SimpleCV/Shell/Shell.py", line 166, in run_notebook
    from IPython.frontend.html.notebook import notebookapp
ImportError: No module named html.notebook

Any thoughts on how to get the SimpleCV notebook to start?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2012-10-09 18:33:07 -0600

xamox gravatar image

I'm wondering if it's trying to use a different version of ipython. You can see what version of IPython you have by typing:

ipython --version

You may want to try upgrading to 0.13 if that isn't your version with:

pip install -U ipython
edit flag offensive delete link more
0

answered 2012-10-05 08:15:26 -0600

marco619 gravatar image
edit flag offensive delete link more
0

answered 2014-09-15 19:45:08 -0600

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

Comments

Do these commands enable img.show() in the notebook or is this a different function call?

ppipat gravatar imageppipat ( 2014-09-22 18:28:11 -0600 )edit

allows yes, I tried, allows image.show () in notebook, you must enter these commands in the web browser, within ipython notebook

Rodrigo gomes gravatar imageRodrigo gomes ( 2014-09-28 18:45:05 -0600 )edit

SimpleCV from import * init_options_handler.enable_notebook () was exactly what was simplecv notebook

Rodrigo gomes gravatar imageRodrigo gomes ( 2014-09-28 18:47:26 -0600 )edit

With the notebook show you are just overriding the following command: from SimpleCV import * disp = Display(displaytype='notebook') img = Image('simplecv') img.save(disp)

xamox gravatar imagexamox ( 2014-09-29 09:11:43 -0600 )edit

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: 2012-10-04 23:28:48 -0600

Seen: 1,428 times

Last updated: Sep 15 '14