Opened 8 years ago

Last modified 7 years ago

#51515 closed defect

py-ipyparallel don't work after installation — at Initial Version

Reported by: akss@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-ipyparallel

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

Change History (0)

Note: See TracTickets for help on using tickets.