I mount it by adding this command into the run_server & run_image scripts.
-v "$MYWORKDIR/trame_app/data:/data" \
and I still don’t know how to fix this error.
> VTK is not available inside your Python environment
Traceback (most recent call last):
File "/deploy/server/venv/bin/trame-app", line 11, in <module>
load_entry_point('trame-app==1.0.0', 'console_scripts', 'trame-app')()
File "/deploy/server/venv/lib/python3.9/site-packages/trame_app/app/main.py", line 24, in main
ui.initialize(server)
File "/deploy/server/venv/lib/python3.9/site-packages/trame_app/app/ui.py", line 751, in initialize
local_view = vtk.VtkLocalView(renderWindow)
File "/deploy/server/venv/lib/python3.9/site-packages/trame_vtk/widgets/vtk/common.py", line 662, in __init__
self.update()
File "/deploy/server/venv/lib/python3.9/site-packages/trame_vtk/widgets/vtk/common.py", line 668, in update
self.server.state[self.__scene_id] = MODULE.scene(self.__view)
File "/deploy/server/venv/lib/python3.9/site-packages/trame_vtk/modules/vtk/__init__.py", line 187, in scene
scene_state = HELPER.scene(render_window)
AttributeError: 'NoneType' object has no attribute 'scene'