How to manager multiple pytorch visions in same server?

I want to install pytorch v1.2 from source on my server, which got v1.1 through pip install pytorch_v1.1.whl already.
How should I manager that multiple version of pytorch? And how to switch between them?

Conda environments - with an environment for each version of PyTorch.

My first vision of pytorch is install by pip, second version is installed from source, will that leads to any confusion if that installation is in different conda env?

Environments make multiple versions coexist, so I don’t think so.