Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/user/miniconda2/envs/test/lib/python2.7/weakref.py", line 14, in <module>

from _weakref import (
ImportError: cannot import name _remove_dead_weakref

Traceback (most recent call last):


 "/usr/lib/python2.7/dist-packages/_pytest/config.py", line 365, in _importconftest

mod = conftestpath.pyimport()


 "/usr/lib/python2.7/dist-packages/py/_path/local.py", line 668, in pyimport

__import__(modname)


 "/home/<my_username>/repos/neuro/nipype/nipype/__init__.py", line 56, in <module>

from .pipeline import Node, MapNode, JoinNode, Workflow


 "/home/<my_username>/repos/neuro/nipype/nipype/pipeline/__init__.py", line 11, in <module>

from .engine import Node, MapNode, JoinNode, Workflow


 "/home/<my_username>/repos/neuro/nipype/nipype/pipeline/engine/__init__.py", line 12, in <module>

from .workflows import Workflow


 "/home/<my_username>/repos/neuro/nipype/nipype/pipeline/engine/workflows.py", line 27, in <module>

from ...interfaces.base import (traits, TraitedSpec, TraitDictObject,


 "/home/<my_username>/repos/neuro/nipype/nipype/interfaces/__init__.py", line 13, in <module>

from .io import DataGrabber, DataSink, Select
s, BIDSDataGrabber


 "/home/<my_username>/repos/neuro/nipype/nipype/interfaces/io.py", line 37, in <module>

from .base import (


 "/home/<my_username>/repos/neuro/nipype/nipype/interfaces/base/__init__.py", line 11, in <module>

from .core import (Interface, BaseInterface, SimpleInterface, CommandLine,


 "/home/<my_username>/repos/neuro/nipype/nipype/interfaces/base/core.py", line 32, in <module>

from ...utils.provenance import write_provenance


 "/home/<my_username>/repos/neuro/nipype/nipype/utils/provenance.py", line 20, in <module>

import prov.model as pm
ImportError: No module named prov.model
