Well pytorch seems properly installed in your main env. As you can see you can import it and use it.
But TrackSeg is a program. So you won’t be able to run that within python.
I don’t know what it is. Can you point to more information about it?
What is most likely happening is that it has a hardcoded version of python in there that is used instead of the conda one and pytorch is not available in that version of python.