![]() ![]() ![]() NOTE: There are A LOT of programs to be downloaded, installed, and configured, and they are important for proper building. NOTE: If desired, Embree, OSPRay, and OpenVKL are available in the Intel(R) oneAPI Rendering Toolkit Preparation MPI: 2021.3.0 (via Intel(R) oneAPI HPC Toolkit) TBB: 2021.3.0 (via Intel(R) oneAPI Base Toolkit) VTK Source: vtk-9.0.3-cp38-cp38-win_amd64 (download from VTK website not GitHub master) OS: Windows 10 Enterprise, 圆4-bit, Build 1909Ĭompute GPUs: 2x NVIDIA Quadro RTX8000 in TCC mode with NVLink ModuleNotFoundError: No module named '_vtkmodules_static' Return _bootstrap._gcd_import(name, package, level)įile "C:\Program Files\Python38\lib\site-packages\vtkmodules\_init_.py", line 15, in ImportError: DLL load failed while importing vtkCommonCore: The specified module could not be found.ĭuring handling of the above exception, another exception occurred:įile "C:\Program Files\Python38\lib\site-packages\vtk.py", line 30, in Īll_m = importlib.import_module('vtkmodules.all')įile "C:\Program Files\Python38\lib\importlib\_init_.py", line 127, in import_module I attempted to place the generated Lib/site-packages, bin, lib, and include folders in appropriate places in C:\Program Files\Python38, but I still get a DLL load error: > py -3.8 ModuleNotFoundError: No module named 'vtk' Type "help", "copyright", "credits" or "license" for more information. I have successfully built VTK 9.3.0 for Python 3.8.10-圆4 with CMake and Visual Studio and have bin, lib, include, and share folders and have added these to PATH, but Python does not see vtk: Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) on win32 Volume rendering is unreasonably slow for production with the default PyPI distribution (hours or more) and I need to leverage my hardware to speed up computations. X:/arboreta_auto_build/lib/cmake/vtk-9.1/VTK-vtk-module-properties.cmakeįoundation/CMakeLists.I cannot load VTK into python on Windows with support for CUDA, MPI, and TBB. X:/arboreta_auto_build/lib/cmake/vtk-9.1/VTK-targets.cmakeįoundation/CMakeLists.txt:163 (find_package)ĬMake Error at X:/arboreta_auto_build/lib/cmake/vtk-9.1/vtk-config.cmake:139 (include): When setting VTK_DIR to /our_build_folder/lib/cmake/vtk-9.1, then when configuring the above CMake file, we get errors: CMake Error at X:/arboreta_auto_build/lib/cmake/vtk-9.1/vtk-config.cmake:138 (include): The CMake file for one of our apps (actually a library), that are using VTK, looks (snippet) like this. We basically want a binary VTK build package that we can just copy into our build folder, and from there build our ‘on top of VTK’ apps. However, when only the the ‘install’ folder of VTK is present, we have problems with apps finding VTK headers and libraries properly. When building the ‘install’ target of VTK, all binaries and headers, etc, are copied to our Build folder.Īpplications that are to use VTK, subsequently, are using CMake. Before that, however, we are trying to build manually. We are trying to setup our applications, that uses VTK (9.1), to be automatically built by our build system, Gitlab. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |