I\'m trying to intstall TensorFlow using pip:
$ pip install tensorflow --user
Collecting tensorflow
Could not find
update 2019: for install the preview version of TensorFlow 2 in Google Colab you can use:
!wget https://developer.nvidia.com/compute/cuda/10.0/Prod/local_installers/cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64 -O cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64.deb
!dpkg -i cuda-repo-ubuntu1604-10-0-local-10.0.130-410.48_1.0-1_amd64.deb
!apt-key add /var/cuda-repo-10-0-local-10.0.130-410.48/7fa2af80.pub
!apt-get update
!apt-get install cuda
!pip install tf-nightly-gpu-2.0-preview
and for install the TensorFlow 2 bye pip you can use:
pip install tf-nightly-gpu-2.0-preview
for GPU and
pip install tf-nightly-2.0-preview
for CPU.