-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Could not find a suitable VTK type for <U54 #17
Comments
I'm experiencing the same issue. Any resolution or workaround you can suggest? |
use below requirements with python3.10.11 aiohappyeyeballs==2.4.4 |
Hi, I'm trying to use stv_explorer.py on a mac using python 3.10.
I'm getting this error. Can you help me in solving this problem?
$ python stv_explorer.py --port 1234
Traceback (most recent call last):
File "/Users/imerelli/spateo-viewer/stv_explorer.py", line 4, in
from stviewer.explorer_app import state, static_server
File "/Users/imerelli/spateo-viewer/stviewer/explorer_app.py", line 48, in
) = init_actors(
File "/Users/imerelli/spateo-viewer/stviewer/Explorer/pv_pipeline/pv_actors.py", line 102, in init_actors
) = sample_dataset(path=path)
File "/Users/imerelli/spateo-viewer/stviewer/assets/dataset_acquisition.py", line 176, in sample_dataset
pc_model.point_data[obs_key] = array
File "/Users/imerelli/miniforge3/envs/spateo/lib/python3.10/site-packages/vtkmodules/util/data_model.py", line 45, in setitem
return self.set_array(name, value)
File "/Users/imerelli/miniforge3/envs/spateo/lib/python3.10/site-packages/vtkmodules/util/data_model.py", line 171, in set_array
arr = dsa.numpyTovtkDataArray(copy, name)
File "/Users/imerelli/miniforge3/envs/spateo/lib/python3.10/site-packages/vtkmodules/numpy_interface/dataset_adapter.py", line 146, in numpyTovtkDataArray
vtkarray = numpy_support.numpy_to_vtk(array, array_type=array_type)
File "/Users/imerelli/miniforge3/envs/spateo/lib/python3.10/site-packages/vtkmodules/util/numpy_support.py", line 146, in numpy_to_vtk
vtk_typecode = get_vtk_array_type(z.dtype)
File "/Users/imerelli/miniforge3/envs/spateo/lib/python3.10/site-packages/vtkmodules/util/numpy_support.py", line 69, in get_vtk_array_type
raise TypeError(
TypeError: Could not find a suitable VTK type for <U54
The text was updated successfully, but these errors were encountered: