Gesture of libs, path and DLLs while developing

Theophanis_Eleftheri
Thu, 24 Apr 2025 03:29:55 +0000
Development

Hello,
I’m trying to develop an extension for 3D Slicer using torch and many other libs. Those libs are currently installed in a conda environment (I have a plenty depending on the project). I’d like to develop my extension but if I do execute it in slicer, even after adding the site package of my env in my sys.path, torch isn’t imported because slicer doesn’t know where are the DLLs that torch uses. And if I try to do it in my IDE I have the same problem with Slicer’s and VTK’s DLLS. Is there a clean way to organize my libraries or to give access to my conda env to slicer?

Thanks for your ideas and answers!

2 posts - 2 participants