Hi Yanyu,
For dipy <= 1.4.1, need fury <= 0.7.1
for dipy >= 1.5.0, you need fury >= 0.8.0
It should fix your problem.
Cheers,
Serge Koudoro
________________________________
From: Xiong, Yanyu <xionyany(a)indiana.edu>
Sent: Tuesday, February 8, 2022 7:18 PM
To: fury-owner(a)python.org <fury-owner(a)python.org>
Subject: [External] Can't import name 'vtk' from 'fury.window'
This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.
Dear community members,
I had an issue using ‘ from dipy.viz import window, actor’ as follows:
from dipy.viz import window, actor
Traceback (most recent call last):
File "C:\Users\ADMINI~1\AppData\Local\Temp/ipykernel_10660/96092957.py", line 1, in <module>
from dipy.viz import window, actor
File "C:\ProgramData\Anaconda3\lib\site-packages\dipy\viz\__init__.py", line 16, in <module>
from fury.window import vtk
ImportError: cannot import name 'vtk' from 'fury.window' (C:\ProgramData\Anaconda3\lib\site-packages\fury\window.py)
How should I fix the problem?
Thanks,
Yanyu