When installing terminal.workspace on your machine, you may not want to have to install pip or spack. If you do not have these software, there could be problems when calling the corresponding activation or deactivation module function, depending on the implementation of these functions.
There should be a mechanism to activate or deactivate only a certain list of modules.