#51515: py-ipyparallel: needs a dependency on py-futures -----------------------------+------------------------ Reporter: akss@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-ipyparallel | -----------------------------+------------------------ Changes (by ryandesign@…): * keywords: ipyparallel installation dependency => * owner: macports-tickets@… => stromnov@… Old description:
$ 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
New description: {{{ $ 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 }}} -- -- Ticket URL: <https://trac.macports.org/ticket/51515#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X