Skip to content

TensorFlow installation on Debian SLURM cluster without sudo

David edited this page Apr 12, 2017 · 1 revision

The official installation guide to install TensorFlow doesn't provide an option without having sudo access. You can either use pip, virtualenv or docker, which all require sudo access to install in the first place. The trick is to install pip on a user level and then install TensorFlow.

export PATH=/home/user/$USERNAME/.local/bin/:$PATH
wget https://bootstrap.pypa.io/get-pip.py

(get-pip.py is simply an entire copy of pip)

python get-pip.py --user

.local/bin/pip install --upgrade --user tensorflow

This installs TensorFlow on a user level. Please check for a newer version when installing due to breaking changes in upgrades.

Clone this wiki locally