Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Weird... had installed SimpleCV from the github repo 'master' branch, and had no issues. Uninstalled that, and tried again using 'develop' branch... and suddenly ran into this (among other) problem when trying to run simplecv notebook.

Looking at the pull request... doesn't appear to have been merged into the official repo?

This is what I'm seeing now:

monte@machin-shin:~/python/SimpleCV$ simplecv notebook
/usr/local/lib/python2.7/dist-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
warn("The top-level `frontend` package has been deprecated. "
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-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 233, in main
run_notebook(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 185, in run_notebook
from IPython.frontend.html.notebook import kernelmanager
ImportError: cannot import name kernelmanager
monte@machin-shin:~/python/SimpleCV$

Looks like the IPython version number is again hard-coded in another file, per the issue here: https://github.com/sightmachine/SimpleCV/pull/616/files

Weird... had installed SimpleCV from the github repo 'master' branch, and had no issues. Uninstalled that, and tried again using 'develop' branch... and suddenly ran into this (among other) problem when trying to run simplecv notebook.

Looking at the pull request... doesn't appear to have been merged into the official repo?

This is what I'm seeing now:

monte@machin-shin:~/python/SimpleCV$ simplecv notebook
/usr/local/lib/python2.7/dist-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
warn("The top-level `frontend` package has been deprecated. "
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-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 233, in main
run_notebook(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 185, in run_notebook
from IPython.frontend.html.notebook import kernelmanager
ImportError: cannot import name kernelmanager
monte@machin-shin:~/python/SimpleCV$

Looks like the IPython version number is again hard-coded in another file, per the issue here: https://github.com/sightmachine/SimpleCV/pull/616/files

...and as a result, the code ralphs when presented with IPython 2.0.0.

Weird... had installed SimpleCV from the github repo 'master' branch, and had no issues. Uninstalled that, and tried again using 'develop' branch... and suddenly ran into this (among other) problem when trying to run simplecv notebook.

Looking at the pull request... doesn't appear to have been merged into the official repo?

This is what I'm seeing now:

monte@machin-shin:~/python/SimpleCV$ simplecv notebook
/usr/local/lib/python2.7/dist-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
warn("The top-level `frontend` package has been deprecated. "
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-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 233, in main
run_notebook(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/SimpleCV-1.3-py2.7.egg/SimpleCV/Shell/Shell.py", line 185, in run_notebook
from IPython.frontend.html.notebook import kernelmanager
ImportError: cannot import name kernelmanager
monte@machin-shin:~/python/SimpleCV$

Looks like the IPython version number is again hard-coded in another file, per the issue here: https://github.com/sightmachine/SimpleCV/pull/616/files

...and as a result, the code ralphs when presented with IPython 2.0.0.

2.0.0. And... just to make things more fun... after I 'fix' said lines in said files... I get this:

monte@machin-shin:~/python/SimpleCV$ simplecv notebook2014-05-10 03:39:10.830 [NotebookApp] CRITICAL | No such file or directory: /home/monte/Dropbox/Code/python/SimpleCV/notebook
monte@machin-shin:~/python/SimpleCV$

Note to self: DO NOT use --upgrade when installing SimpleCV using sudo pip install -r requirements - it will pull in IPython 2.0.0, and there are too many other parts of SimpleCV that don't play nice with that version.