

Use pip list or conda list to get the list of packages installed.
Install tensorflow anaconda install#
Before we install tensorflow-gpu, ensure that you do not have tensorflow cpu already installed in Anaconda.

We will be installing tensorflow in Anaconda hence open “Anaconda Prompt”. Now all the prerequisites for tensorflow are done and we can dive into actually installing the tensorflow-gpu library. Restart your computer one last time to get all the driver files and cuDNN files right where they are needed. While installing you don’t necessarily have to give any preferences, use the default options which the installation suggests.Īfter updating the drivers, download and install the CUDA Toolkit from this link: Make sure you download the community version, which is free for the students and individuals. You can download the latest version here. Once you have the latest drivers, install Microsoft Visual Studio. This can be done from the official Nvidia website: And if your Graphics card is compatible with the CUDA Toolkit then go ahead and update the Nvidia drivers first. You can instead work on Google Colab or Kaggle. There’s no point installing tensorflow-GPU if you graphics card doesn’t support CUDA parallel processing. This can be checked on the Nvidia website link: First you need to check if your graphics card supports CUDA.
Install tensorflow anaconda how to#
Assuming that you already have or know how to install Anaconda and Python, lets get started with installing Tensorflow-GPU. I have a Nvidia GeForce 940M graphics card, and I have Python 3.7 version and Anaconda 4.8.3. So i thought of putting it all in a single page so that someone new doesn’t has to struggle. It took me more than a month to get the right codes and process. I had to try many different codes and tricks from various sources. I updated my Nvidia drivers, CUDA Toolkit and my tensorflow without any luck.Īfter a lot web search and trials i was finally able to get codes to run on GPU instead of CPU. So, I was trying to use my GPU for the running a tensorflow code, but everytime it would run on CPU.
