CAVEconnectome / MeshParty

Apache License 2.0
35 stars 16 forks source link

Error using skeletonize.skeletonize_mesh #94

Closed jboulanger91 closed 1 year ago

jboulanger91 commented 1 year ago

I'm now trying to skeletonize the downloaded meshes using the given example:

`from meshparty import trimesh_io mm = trimesh_io.MeshMeta( cv_path = "precomputed://gs://neuroglancer-public-data/kasthuri2011/ground_truth", disk_cache_path = "test_meshes", map_gs_to_https=True)

load a segment

mesh = mm.mesh(seg_id = 3710)`

But when I want to skeletonize it using: skeletonize.skeletonize_mesh(mesh,invalidation_d=12000) But I get the following error related to pyembree: ~/anaconda3/lib/python3.8/site-packages/trimesh/ray/ray_pyembree.py in <module> 25 try: 26 # try the preferred wrapper which installs from wheels ---> 27 from embreex import rtcore_scene 28 from embreex.mesh_construction import TriangleMesh 29 # pass embree floats as 32 bit ModuleNotFoundError: No module named 'embreex'

I've been trying to get the pyembree package but it won't install, also using the following command: conda install -c conda-forge pyembree

Could you provide some details regarding it's intallation or maybe suggest a workaround for the skeletonization?

Thanks a lot for your help. Jon