Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#51515 closed defect (fixed)

py-ipyparallel: needs a dependency on py-futures

Reported by: akss@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: kurthindenburg (Kurt Hindenburg)
Port: py-ipyparallel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

$ sudo port install py-ipyparallel

$ ipcluster-2.7 nbextension enable

Traceback (most recent call last):
  File "/opt/local/bin/ipcluster-2.7", line 2, in <module>
    from ipyparallel.apps.ipclusterapp import launch_new_instance
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipyparallel/__init__.py", line 17, in <module>
    from .client.asyncresult import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ipyparallel/client/asyncresult.py", line 10, in <module>
    from concurrent.futures import Future
ImportError: No module named concurrent.futures

The reason is that the port doesn't have a dependency on py-futures. After installing the port, the problem goes away:

$ sudo port install py-futures

$ ipcluster-2.7 nbextension enable

Enabling IPython clusters tab

Change History (5)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ipyparallel installation dependency removed
Owner: changed from macports-tickets@… to stromnov@…
Summary: py-ipyparallel don't work after installationpy-ipyparallel: needs a dependency on py-futures

comment:2 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

For py27, py-futures is needed. For py34, py-notebook is needed for the above example. Perhaps just add both?

comment:4 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

In bd8067c5/macports-ports:

py-ipyparallel: add py-notebook dep for python 3+

py-futures for python 2.7 was added months ago
remove outdated $Id$

closes #51515

comment:5 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

In d1fe0496/macports-ports:

py-ipyparallel: add py-notebook dep for python 3+

py-futures for python 2.7 was added months ago
remove outdated $Id$

closes #51515

Note: See TracTickets for help on using tickets.