[MacPorts] #51515: py-ipyparallel don't work after installation
#51515: py-ipyparallel don't work after installation -------------------------------------------------+------------------------- Reporter: akss@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: ipyparallel installation dependency | Version: 2.3.4 | Port: py- | ipyparallel -------------------------------------------------+------------------------- $ 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> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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 | -----------------------------+------------------------ Comment (by khindenburg@…): For py27, py-futures is needed. For py34, py-notebook is needed for the above example. Perhaps just add both? -- Ticket URL: <https://trac.macports.org/ticket/51515#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts