VTK Trame Docker Issue

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'

I thought you solved it with that comment

I did add vtk to the setup file. Like this:

packages = find:
include_package_data = True
install_requires =
    trame>=2.0.0rc2
    vtk>=9.1.0

If you rebuilt the server directory after that change, I don’t understand why you would run into that issue. It does not make sense.