[Neurodebian-devel] nipype and python-pydot incompatibility

Alex Waite alex at waite.eu
Thu Mar 8 10:24:02 UTC 2018


I have a user attempting to heudiconv->nipype->pydot on Stretch and 
they're getting this error:

Traceback (most recent call last):
   File "/usr/bin/heudiconv", line 6, in <module>
     from pkg_resources import load_entry_point
   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 3019, in <module>
     @_call_aside
   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 3003, in _call_aside
     f(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 3032, in _initialize_master_working_set
     working_set = WorkingSet._build_master()
   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 657, in _build_master
     return cls._build_from_requirements(__requires__)
   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 670, in _build_from_requirements
     dists = ws.resolve(reqs, Environment())
   File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", 
line 849, in resolve
     raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pydot>=1.2.3' distribution was 
not found and is required by nipype

This problem is with both nipype 0.14.0-1~nd90+1 and 1.0.1-1~nd90+1

python-pydot 1.2.3 is available in testing but not stable.

At very least, I think nipype should depend on >= 1.2.3 python-pydot.

But, reading about python-pydotplus (also depended on by the nipype 
package) seems to imply that it is a pseudo successor to python-pydot? 
It's a dep, so I wasn't able to remove it, but perhaps python-pydotplus 
is a enough and python-pydot can be removed as a dep and conflict with 
<1.2.3?

Thoughts? I don't use these packages personally, so it's all just 
conjecture.

---Alex



More information about the Neurodebian-devel mailing list