Opened 8 years ago

Last modified 7 years ago

#51515 closed defect

py-ipyparallel: needs a dependency on py-futures — at Version 1

Reported by: akss@… Owned by: stromnov@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
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 (1)

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
Note: See TracTickets for help on using tickets.