install tensorflow.
- pip install –upgrade pip
- pip install –ignore-installed –upgrade https://storage.googleapis.com/tensorflow/windows/gpu/tensorflow_gpu-1.12.0-cp36-cp36m-win_amd64.whl
- tensorflow_gpu-1.12.0-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.
- If you received not supported wheel error try
- pip install tensorflow , worked for me , but installed only GPU support.
- pip install tensorflow-gpu , installed gpu support but downgrade python to 2.7.
To install GPU support with python 3.6
- source deactivate unityMLAgent
- Download tensorflow_gpu-1.12.0-cp35-cp35m-linux_x86_64.whl
- mv tensorflow_gpu-1.12.0-cp35-cp35m-linux_x86_64.whl tensorflow_gpu-1.12.0-cp36-cp36m-linux_x86_64.whl.
- pip install –ignore-installed –upgrade https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.12.0-cp36-cp36m-linux_x86_64.whl
- I have kept renamed whl file to my /home/user/Download directory and executed pip install also from Download directory
- possible error
- mkl-random 1.0.1 requires cython, which is not installed.
- Install cython
- pip install –upgrade pip
- pip install cython
Verify Tensorflow installation.
- python
- import tensorflow
- If installtion fail import will throw some error msg.