Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dipy dependence failure #47

Closed
kerkelae opened this issue Aug 26, 2019 · 3 comments
Closed

Dipy dependence failure #47

kerkelae opened this issue Aug 26, 2019 · 3 comments

Comments

@kerkelae
Copy link

kerkelae commented Aug 26, 2019

Following the instructions (https://github.com/MIC-DKFZ/TractSeg/#install), I installed TractSeg and tried to run it, but could not because the current version of DiPy does not have the move_streamlines() function in dipy.tracking.utils. I tried to fix this by creating a new virtual environment without DiPy, but the installation of TractSect failed to download the required function from DiPy. This function is something that has been removed from the most recent release of DiPy. See below the error message I got after calling 'TractSeg' after installation.

Traceback (most recent call last):
File "/home/leevi/anaconda3/envs/tractseg/bin/TractSeg", line 38, in
from tractseg.libs import mrtrix
File "/home/leevi/anaconda3/envs/tractseg/lib/python3.7/site-packages/tractseg/libs/mrtrix.py", line 29, in
from tractseg.libs import tracking
File "/home/leevi/anaconda3/envs/tractseg/lib/python3.7/site-packages/tractseg/libs/tracking.py", line 9, in
from dipy.tracking.utils import move_streamlines
ImportError: cannot import name 'move_streamlines' from 'dipy.tracking.utils' (/home/leevi/anaconda3/envs/tractseg/lib/python3.7/site-packages/dipy/tracking/utils.py)

Is there something that I am missing?

@drs-m
Copy link

drs-m commented Sep 5, 2019

I have the same problem. A workaround atm is to reinstall dipy at version 0.15.0: pip uninstall dipy; pip install dipy==0.15.0

@meconomou
Copy link

Had the same problem. Thanks for the tip!

@wasserth
Copy link
Collaborator

The newest master of TractSeg works with dipy 1.0. If you are using an older version of TractSeg you willl have to manually install dipy 0.15 or 0.16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants