pip install tensorflow-gpu==1.4.1 code example Example: installing a specific version of tensorflow pip install tensorflow==2.0.0