[MacPorts] #51515: py-ipyparallel don't work after installation

MacPorts noreply at macports.org
Sun May 29 12:01:18 PDT 2016


#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


More information about the macports-tickets mailing list