when running the vtk tutorial of trame, I now get this error:
python ./01_vtk/solution_cone.py --port 1234
Traceback (most recent call last):
File “/home/user/Codes/trame-tutorial/./01_vtk/solution_cone.py”, line 58, in
view = vtk.VtkLocalView(renderWindow)
File “/usr/local/lib/python3.10/dist-packages/trame_vtk/widgets/vtk/common.py”, line 637, in init
MODULE.has_capabilities(“web”)
File “/usr/local/lib/python3.10/dist-packages/trame_vtk/modules/vtk/init.py”, line 32, in has_capabilities
raise ImportError(IMPROPER_VTK_MSG)
ImportError: Your build of VTK does not have the proper web modules enabled.
These modules are typically enabled by default with the
-DVTK_GROUP_ENABLE_Web:STRING=WANT
build flag.Conda users: This is a known issue with the conda-forge VTK feedstock.
See Build web modules for trame by banesullivan · Pull Request #258 · conda-forge/vtk-feedstock · GitHub
I guess I need to update something, but I don’t know what and where. vtk? conda? Is there a pip command that I can simply run from within the virtual environment to get the correct VTK?