Tensorflow running use GPU in Windows sometimes is difficult to do, where many articles not pointing exactly which Tensorflow version, NVIDIA drivers and other requirement needed to achieve it in Windows 11. Especially when you have NVIDIA RTX Graphic card like 4090 or 3090 or similar version.
I will help to explain on how to install it properly and make it run. Here are the steps to do:
1.Installing the Latest Anaconda.
Go to Anaconda website and download its community distribution. You can try to activate in your terminal windows with “conda activate” and you will enter your base.
If you are using powershelll, you can try “conda init powershell” to load the environment by default
2.Installing Microsoft Visual Studio 2022 (not to confuse with VSCode editor).
Choose the community version at https://visualstudio.microsoft.com/downloads/ and install Desktop Environment with C++
