How to Install TensorFlow For Any Python Version in Windows 10/11 | TensorFlow Installation Guide

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello guys welcome to this tensorflow tutorial and in this tutorial I'm going to show you how to install tensorflow on Windows Linux and Mac OS so let's get start so first I will start with Windows and as you can see here I have created a project folder and I'm going to install the tensorflow in this folder so open this directory into CMD for that click here and type CMD and now you have opened the directory into CMD so before installing tensorflow I would suggest you to first check whether you have installed python on your system or not so to check you can write a command Python and then double hyphen version to view the installed python version and as you can see here in the result I have installed Python 3.10 and after checking this then you need to proceed for installation of a tensor flow and if you have not installed the python on your system just go to website python .org /downloads and here you will see download the latest version for Windows and download the python and install on your system here before installing the tensorflow on your system first let's create a virtual environment and as you know creating a virtual environments is a common practice in software development particularly in languages like a python for creating a python environment type a command python then Type M then b e and V and using this package we are going to create a virtual environment after that specify the environment name so here I'm going to give environment name like a tensor flow e andv and hit enter and wait for a while it will create a tensor flow ENB named environment in your directory as you can see you have successfully created the uh envirment so to view the environment in the current directory in Windows type command Di and now here you can see your environment name tensorflow EnV now this environment contains a activate file to activate this environment so to activate this environment type a command do/ andv SL scripts SL activate and now hit enter the system cannot find the path is specified so let's fix this error so the problem is that here I made a mistake so here I need to specify tensor flow EnV instead of this EnV because we have created the environment name tensor flow andv so again type do/ tensor flow andv then scripts then slash activate now hit enter and if you see something like this tensor flow in within a parenthesis then your enironment is activated now to install the tensor flow flow what you can do here you need to type pip install then write tenser flow and then hit enter and as you can see looking in indexes and it accessing the website something called p.org and wait for some time and it will install tensorflow on your system and as you can see it downloading the tensorflow version 2.5 and now download is started as you can see it's taking time because with tensor flow it install bunch of files so wait for a while and then we will proceed to check for installation of a tensor flow now if you see something output like this in a terminal then you have successfully installed tensor and let's verify it and for that you need to open a python cell and to open a python cell on a Windows in or in terminal write a command Python and hit enter now if you see here like a three arrows then you are in the python cell now to check if you have installed a tensor flow or not so you need to execute a command tf. version from the tensor flow and for that first you need to import the tensor flow so type here command import tensor flow as TF and hit enter after this it shows again that three AR and now here you need to call the command tf. version a version command to check the version of the installed tensor flow so write a print and within print type A TF dot then double underscore type A version then again double underscore and then close the parenthesis of print function and hit enter as soon as you hit enter you can see here the version of the tensorflow is 2.15 so you have just installed the tensorflow version 2.15 on your Windows system so this is how you can install the tensorflow on your Windows system but as you can see here Ive installed the tensor flow in a specific folder that you can see here project and within a specific environment like a tensorflow andb and you can install the tensor flow globally and for that you need to open a command on your computer like this and after that you are in the terminal and here from here you can install the tensor flow globally and for that you need to type command pip install tensor flow and hit enter and it's going to install the tensor flow I'm going to cancel this because I don't want to install this tens flow globally so I will interrupt the operation by by pressing a key contr C now you can also here create a environment like a type a python then M V and V this is the package that we use to create environment and then specify the name of the environment t. EnV and hit enter and it will create the T en EnV envirment in the current directory and where you can install the tensor flow and now as you know to activate this environment you need to type a command do slash then environment name which is a t andv slash scripts SL activate and hit enter now the environment is activated and here you can type pip install tensor flow and again I'm not going to install here I'm going to interrupt this operation and as you can see you can install tensorflow in specific folder or globally and let me show you you can also install in any of the drive that you see here so here you can see Windows C you can also install here create a folder create environment and install the tensorflow using the steps that I have told you so this is how you can install the transor flow on a Windows so at last I want to say don't forget to Subs subscribe our YouTube channel and thank you
Info
Channel: PythonGuides
Views: 423
Rating: undefined out of 5
Keywords: how to install tensorflow for any python version in windows10/11, tensorflow installation guide, install tensorflow on windows 10, install tensorflow on windows 11, install tensorflow using cmd, how to install tensorflow, install latesversion of tensorflow, how to install tensorflow cpu on windows, how to install tensorflow on python 3.12, tensorflow cpu setup on windows, how to install and setup tensorflow on windows latest version, tensorflow tutorial, installing tensorflow
Id: oG-_aywWZN8
Channel Id: undefined
Length: 7min 8sec (428 seconds)
Published: Wed Feb 07 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.