How To Install and Setup TensorFlow on Windows (Latest Version) | Installing TensorFlow | MindMajix

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign welcome to this tutorial in this tutorial we are going to see how efficiently we can just install tensorflow on our Windows machine so let's get started just open your web browser before uh installing tensorflow we need the prerequisite that is we should have python so let's download the latest python version First just type in download python and just open the first link that is python.org and with this we get this option download the latest version for Windows just click get save it on your desired location and saving it on desktop only so just click on Save it will be getting downloaded yeah so it comes here now open this installer uh don't forget to uh click on this option as uh if you click on this option it becomes uh easier for you to not manually adding this path to the environment variable that is little bit complex starts but yeah they are providing this feature so at least you should click on this add python.exe to path only so from anywhere from your system you can just execute python so let's install now setup was successful now let's see if python is correctly installed or not just type in CMD just open it and in that just type in here python minus minus version yeah as you can see Airtel spite is the same version that we downloaded from internet it is 3.11.4 and 3.11.4 so let's try to install tensorflowed so to install tensorflow what we need is uh there are two steps uh by downloading the tensorflow first is use by creating virtual environment and the second one is directly installing the tensorflow as it is on global basis and if you are just downloading the tensorflow so there might be version conflicts it is uh due to like uh you have multiple projects which are using tensorflow so as a version conflicts your projects might not run or you will get some errors so it is better to create the virtual environment and to create the virtual environments uh it is very simple you just need to install virtually any that is the library in Python so let's install virtual environment virtual environment is just like uh all your libraries and all your stuff will be getting downloaded in that virtual environment only and once your work is done you can delete that environment so it will not affect other system dependencies or any python libraries apart from that environment so it becomes very convenient for the developer us to develop the code and to create everything as per the requirement and as you all know python is growing day by day so its dependencies create so much conflict if you are not using correct version properly so therefore it is advice and it's a good practice that you include virtual environments so let's install the virtual environments that comes in the quick module only so okay we'll solve virtual Envy as you can see it has been getting downloaded and it has successfully installed this uh virtually now let's create the virtual environment for creating the virtual environment uh see it will be getting created in my local username so let's change that directory just keep it to desktop and in that let's create the folder I can say make directory and the folder name is uh let's say tensor and change directory to tensor now we are in tensor directory now let's create the virtual environment here so to create the virtual environment uh the syntax is not that much are you just have to type it virtually in me and the environment name let's keep the environment name as tensorflow on the tensorflow so it will create the tensorflow environment in the folder tensor so tensorflow environment has been created in the folder tensor now let's cross check it yeah as we can see 10 series will created now we need to activate this environment so let's activate the environment to activate the environment it is just like uh you just type the environment name followed by scripts and after that activates so our environment name is tensorflow so just type in tensorflow hence the flow slash Scripts slash activate uh tensor okay tensor in just a second foreign tensorflow is not recognized just a second let me check yeah just create and just copy this thing and paste it over here directory so here becomes on the script now let's come back on directive and yeah let's activate this using correct slash activate script is not recognized so forget about that list comment of the scripts folder only and just type in here activate so as you can see tensorflow is being activated so environment has been created with the name tensorflow and now let's install all the dependencies all the libraries in this so it will be limited to this environment only and all files will be saved here like in the libraries everything will be getting installed and the scripts what all things are there in that and this environment so this is the environment file now let's see uh we will install tensorflow so to install the tensorflow in the environment let's type in PIP install only pip install tensorflow and hit enter as you can see uh it is downloading the tensorflow from the latest version from the net that is included in Pi Pi so it will fetch all the files and it will install uh it is approximately 276 MB so it is showing the expected time of completion like one minute so overall tensorflow tensile tensorflow if we can briefly discuss about tensorflow in the meantime so it is a free and open source uh Library especially used for machine learning and artificial intelligence it is used to create the models like machine learning models based on supervised learning unsupervised learning semi-supervised learning than the artificial intelligence the image classification there are so many applications of machine learning and artificial intelligence from object detection to the object detection object classification and there are multiple things like you can create everything you can train the model on various various various data sets so for that purpose tensorflow is created and it is very efficient you just see yeah yeah it is collecting all the required packages along with that necessary packages it will not take much time just taking the small small additional packages like numpy and all those things that are present present in tensorflow that is used for for data manipulation and data computation and all those things so it has collected this many packages as you can see it and support requests and the Keras and all those things are getting installed yeah in one go only now it will install all the packages let's see virtual environment is the best way to create any project and set up any project in that environment like uh you store all the libraries and all to it so that's why it is a good practice you should follow while just directly installing the things without any environment so it becomes a bit difficult if you later on come on that project for example after six to seven months or so the things are like you don't have the requirements and you directly installed and things are upgrading day by day so it becomes with difficult here on which was the new were working on and what to all dependencies were at that time so that's why just make sure you create and everything in Virtual environment only it is taking but time but yeah soon it will finish as it is a heavy package so it takes some time so yeah tensorflow has been installed so let's check it where the tensorflow has been installed or not so to check it just type in Python after typing on python uh just import the tensorflow like import tensorflow oh just a second and I'll just clear the screen PLS yeah now just type in Python in that let me click enter enter and I will import the tensorflow importance of flow as TF okay so yeah it is not giving you the straight yeah done it is not giving any other now let's see if it is getting means the version the what version uh the tensorflow has been installed so let's print the version so print in that let's mention TF Dot underscore underscore version let's close the bracket just type in so as you can see 2.1 2.13.0 the latest version has been downloaded so that's how we saw like a prerequisite to the install the tensorflow on Windows machines firstly we downloaded python we just click on add to path next next and python was completely uh installed on our system after that we verified our python whether it was installed or not we typed in pi dot dot uh Pi dot version so after that followed by uh we check python minus minus version also and after checking the version and all this python was successfully installed later on we moved with creating the virtual environment and making the directory directory is nothing but just a folder we created a folder named tensor in that we created the virtual environment using pip installed virtually in me and we named the virtual environment as tensorflow and in that we installed the tensorflow and as you can see this was our tensorflow environment so we created tensorflow environment and after that we installed tensorflow it and to verify the installation we just typed in Python so it opened The Interpreter and in that we imported the tensorflows here and to check whether it was successfully installed and which version it installed so we tried the version and it was like 2.2 or 13.0 so here I conclude this video so that was the efficient and the best way to download and install tensorflow via Windows system thank you so much [Music]
Info
Channel: MindMajix
Views: 13,972
Rating: undefined out of 5
Keywords: tensorflow, installing tensorflow, install tensorflow, tensorflow installation, installing tensorflow in python, installing tensorflow on windows, how to install tensorflow, how to install tensorflow in python, how to install tensorflow on windows, install and setup tensorflow, how to install tensorflow in python on windows, how to install tensorflow on windows 10, install tensorflow windows, how to download and install tensorflow, mindmajix
Id: L_03Y48dlTc
Channel Id: undefined
Length: 12min 31sec (751 seconds)
Published: Tue Aug 15 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.