Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name unpack_apply_message #5

Open
jedie opened this issue Jul 24, 2015 · 1 comment
Open

ImportError: cannot import name unpack_apply_message #5

jedie opened this issue Jul 24, 2015 · 1 comment

Comments

@jedie
Copy link
Contributor

jedie commented Jul 24, 2015

Maybe IPython has changed his API?

(DrQueue_env)jens@vm:~/DrQueue_env$ drqueue 
Traceback (most recent call last):
  File "/home/jens/DrQueue_env/bin/drqueue", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/jens/DrQueue_env/src/drqueueipython/bin/drqueue", line 16, in <module>
    import DrQueue
  File "/home/jens/DrQueue_env/src/drqueueipython/DrQueue/__init__.py", line 19, in <module>
    from .client import Client
  File "/home/jens/DrQueue_env/src/drqueueipython/DrQueue/client.py", line 19, in <module>
    from IPython.parallel.util import unpack_apply_message
ImportError: cannot import name unpack_apply_message

I found IPython.kernel.zmq.serialize.unpack_apply_message() see:
https://ipython.org/ipython-doc/dev/api/generated/IPython.kernel.zmq.serialize.html#IPython.kernel.zmq.serialize.unpack_apply_message

jedie added a commit to jedie/DrQueueIPython that referenced this issue Jul 24, 2015
@jedie
Copy link
Contributor Author

jedie commented Jul 24, 2015

I just try a downgrade of ipython and it looks like a useable work-a-round:

(DrQueue_env)jens@vm:~/DrQueue_env$ pip install "ipython<3"
Collecting ipython<3
  Downloading ipython-2.4.1-py27-none-any.whl (2.8MB)
    100% |████████████████████████████████| 2.8MB 187kB/s 
Installing collected packages: ipython
  Found existing installation: ipython 3.2.1
    Uninstalling ipython-3.2.1:
      Successfully uninstalled ipython-3.2.1
Successfully installed ipython-2.4.1
(DrQueue_env)jens@vm:~/DrQueue_env$ drqueue 
usage: drqueue [-h] [-v] [--no-ssh]
               {job,task,computer,security,master,slave} ...
drqueue: error: too few arguments

kaazoo added a commit that referenced this issue Jul 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant