Install tensorflow 1.15 and PyTorch on server

I am so pissed off everytime I try to install environments on server. Here is the steps I figured out that can bring successful installations.

Install Tensorflow-gpu 1.15

Make sure your .condarc file is configured so the server can download from internet.

conda install -c conda-forge tensorflow-gpu=1.15

Install PyTorch

Remember to add --proxy=http://XXX:XXX if necessary.

conda install pytorch cudatoolkit=11.3 -c pytorch


pip install torch --extra-index-url