-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"import vtk" fails after update to version 9 #14375
Comments
Is |
I already have all optional vtk dependencies installed. I can't import vtk both when matplotlib is not installed and when it is installed. I also checked the file |
The VTK 9.2.2 python libraries have ',cpython310' bit, whereas the 8.x ones don't have anything of that sort. Try removing that from the file names and see if it imports. I have a feeling that's what's messing Python up. |
It works, thank you! However, VTK seems to have missing functionality.
|
OK, I see that vtkExtractEdges has been moved from vtkFiltersExtraction to vtkFiltersCore |
Good to know that it worked. That needs to be fixed. |
That is also true in Arch Linux, see
|
Yes, but on Linux it work fine, at least on my Manjaro with VTK 9.1.0 |
I think it should be called *.cp310-mingw_x86_64.pyd, but I haven't checked that yet. |
The Arch libs have the system triplet as well, and the MinGW ones don't. That being missing is probably throwing Python off. |
I think I have found the issue. VTK uses CMake I think this issues should be fixed in mingw-w64-python |
Fixed by #14478 |
Description
after update vtk from version 8.2.0 to 9.2.2 I can not import vtk
Verification
Windows Version
Microsoft Windows [Version 10.0.25252.1010]
MINGW environments affected
Expected behavior
import vtk with no errors
Actual behavior
vtk modules not found
Repro steps
python -c "import vtk"
Are you willing to submit a PR?
No response
The text was updated successfully, but these errors were encountered: