Running touchdesigner in a FastSAM conda env is not finding all of the necessary libraries

I’m trying to run touchdesigner in a custom miniconda environment for running FastSAM (segment-anything-fast · PyPI), I’ve confirmed that I can run the model in the conda environment in a shell. However when I try to run touchdesigner in the environment, I am getting the following:

TouchDesigner Build 2023.12000 compile on Mon Sep 23 12:36:24 2024
Python 3.11.1 (heads/3.11-Derivative-dirty:82b0389147, Jan 25 2023, 22:34:27) [MSC v.1929 64 bit (AMD64)]

python >>> from fastsam import FastSAM
OSError: [WinError 127] The specified procedure could not be found. Error loading “C:\Users/D/miniconda3/envs/td-fastsam_3.11_new/Lib/site-packages\torch\lib\shm.dll” or one of its dependencies.

I am wondering what I am missing here?

It’s a version conflict of libiomp5md.dll. It should be fixed in the next experimental . For now you can try copying the version from python/site-packages/torch/lib into the TouchDesigner/bin folder