Code Monkey home page Code Monkey logo

singlecell's Issues

Cannot import name IOPubHandler

$ git clone https://github.com/minrk/singlecell.git .
$ python singlecell.py 
Traceback (most recent call last):
  File "singlecell.py", line 54, in <module>
    from IPython.html.services.kernels.handlers import (
ImportError: cannot import name 'IOPubHandler'
$ ipython --version
3.1.0

Is my version of IPython supported?

ImportError: IPython.kernel has been replaced by IPython.parallel.

╭─lwm@lwm-Latitude-D620 ~/repos/singlecell ‹master›
╰─$ python singlecell.py 1 ↵
Traceback (most recent call last):
File "singlecell.py", line 39, in
from IPython.kernel.multikernelmanager import MultiKernelManager
File "/usr/lib/python2.7/dist-packages/IPython/kernel/init.py", line 10, in
raise ImportError(doc)
ImportError: IPython.kernel has been replaced by IPython.parallel.

The previous version of IPython's parallel library was located at this
location (IPython.kernel). It has been moved to the IPython.parallel
subpackage and has been refactored to use zeromq/pyzmq instead of twisted.

Please see INSERT URL for further details.

╭─lwm@lwm-Latitude-D620 ~/repos/singlecell ‹master›
╰─$ python --version 1 ↵
Python 2.7.4

╭─lwm@lwm-Latitude-D620 ~/repos/singlecell ‹master›
╰─$ cat /proc/version
Linux version 3.8.0-31-generic (buildd@aatxe) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1) ) #46-Ubuntu SMP Tue Sep 10 19:56:49 UTC 2013

Has this example become obsolete due to API changes?

Hi,
I work with Shreyas Cholia and Matt Henderson at LBL, and just tried to run the singlecell example against the current 1.0-dev branch of IPython (up to commit 6c864917746d41814534986080b3e1d4e21ee254 ) and even after a few rounds of changing the import statements for what seems to be refactoring of the module namespace, it still won't run. Here's the current error:

Traceback (most recent call last):
File "singlecell.py", line 46, in
from IPython.frontend.html.notebook.notebookapp import (
ImportError: cannot import name _kernel_action_regex

Before I wander too much further down this rabbit hole, am I just doing something wrong, or has the 1.0-dev basically made this example obsolete?

Thanks,
Steve

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.