I have multiple python envs installed and it is a mess. Once in a while, accelerate/torchrun/deepspeed pickup the wrong python env, causing many " No module found" issues. How can I systematically identify which env these use, so I can install the package/call them correctly? My current solution is dumb, trying to install packages randomly and it works but is not sustainable.
A systematic way to know which Python env these refer to.