'cannot import name 'vtk' from 'fury.window'

I am currently using a package called 'Dipy' and the error

cannot import name 'vtk' from 'fury.window' 

Keeps popping up despite me checking that the dependencies are fine

Numpy (>=1.7.1), Vtk (>=8.1.0) and Scipy (>=0.9)

And I have installed fury manually with the wheel file and just normally with pip3 install fury, but either way I still get this error!

What else can I do?



Solution 1:[1]

  • For DIPY<=1.4.1 you need to install fury<=0.7.1
  • for DIPY>1.5.0, you need to install fury>=0.8.0

So you need to check your version of FURY and DIPY using pip show fury and pip show dipy

It should solve your problem.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 skoudoro