Cannot get vedo python extension to work in replit

Question: Does vedo (a package based on VTK) work in replit? The following code works great in VS code but throws the attached error when using a python repo in replit. I have installed the vedo and vtk packages in replit, so I do not think that is the issue. Thanks!

My code:

from vedo import *

mesh = Mesh("//example_mesh//" )

mesh.show()

The error message:

Traceback (most recent call last):
  File "/home/runner/WateryRuralShareware/venv/lib/python3.10/site-packages/vedo/colors.py", line 10, in <module>
    import vedo.vtkclasses as vtk
  File "/home/runner/WateryRuralShareware/venv/lib/python3.10/site-packages/vedo/vtkclasses.py", line 296, in <module>
    from vtkmodules.vtkIOExport import vtkX3DExporter
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 3, in <module>
    from vedo import *
  File "/home/runner/WateryRuralShareware/venv/lib/python3.10/site-packages/vedo/__init__.py", line 27, in <module>
    from vedo.colors import *
  File "/home/runner/WateryRuralShareware/venv/lib/python3.10/site-packages/vedo/colors.py", line 12, in <module>
    import vtkmodules.all as vtk
  File "/home/runner/WateryRuralShareware/venv/lib/python3.10/site-packages/vtkmodules/all.py", line 8, in <module>
    from .vtkWebCore import *
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory

Add the Nix package for Xrender to the makeLibraryPath array in replit.nix, and do this for any missing libraries you need in Python. The default output for this package is out and you want a shared object so you don’t need to specify an output.
You could do this by running in Shell:

sed -i '/    ];/i\      pkgs.xorg.libXrender' replit.nix