How to install TensorFlow and Keras in Python on Windows 10

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
so now let's talk about how to install tensorflow on Windows for python per young language so the first step is it should go to tensorflow.org install and here we can see that by the time I'm recording it says that it supports Python 3 7 all the way up to python 310. so now in order to install the python itself you should go to python.org which is at the official website of python and you should click on downloads and here we should scroll down and we can see different versions of python as you can see now by the time of recording the latest version is python 3.11 but as you have seen in this web page it says that it supports Python 3 7 all the way up to 310 so we should install python 310 so you can see this is python 310.8 so I click on it and here in this page you just scroll down and because on Windows and I have a 60 forward windows so I should click on this in order to download the installation file so you can see here is the file which we have downloaded so right click on it and click on run as administrator and remember that you should check this one at python.exe to path and click on this customize installation here you should press next and here we should just specify a pass for the installation so now suppose that I want to install my Python and this path so first of all I should copy this path and here I should specify the path and I should press install and I should wait for the installation process and you can see it's creating some files and folders and you can see one of those files is python.exe which is at the python interpreter which is a very important file for example if you want to install pycharm and other Ides you need to know the location of this python interpreter I mean that's python.exe file so that said you can see the setup was successful so I press close and now we want to install the tensorflow so first of all in the Google search for tensorflow Pi Pi and you can see this is the website pipei.org and click on it so as you can see one of the methods in order to install tensorflow is to Simply use pip install tensorflow but I myself had problems using this command in order to install tensorflow so I want to use another method in order to install tensorflow so first of all I should click on this download files and you can see that these files are for python 310 you can see python 310 python 310 python 310 but this one is for python39 so I have installed python 310 so I should use one of these files and you can see that this is for Windows this is for Linux and this is for Mac so because I'm on Windows I want to download this file so that said you can see that we have downloaded this file that's tensorflow wheel file and now in order to install this file first of all you should copy this path so I copy this path and on your keyboard you should press windows and R key and here you should simply type CMD stands for command window and it should press ok so now we can see a black window like this will be opened so let's zoom in and here you should simply type CD it stands for change directory and you should press the space key on your keyboard in order to put a space and you should paste this path and it should press enter and after typing this and pressing enter once again because this path is in our age drive so here you should simply type h and colon and you should press enter so now you can see the path has changed and now I simply type pip space install a space and I press tab on my keyboard so you can see that this is the first file in that directory so once again I press Tab and now we can say this is the file that we want to install tensorflow and this is the wheel file so I press enter Then I should wait for the installation process so as you can see because tensorflow needs other packages as well it is downloading those packages so remember that it should have internet connection during the installation process because it is going to download other packages as well and now after downloading these packages now it's installing all of these packages so that's it you can see that the installation was successful so let's close this and now in the search of Windows you should simply search for idle remember that it is Idle not IDE it is IDL it has l so click on it and here we should simply type import tensorflow as TF and I press enter and I should wait for importing this package so we can see the importing process has been done and now I simply type print TF dot underscore underscore version underscore underscore and if I press enter you can see here is the version of tensorflow which we have installed so as you can see the tensorflow has been successfully installed and also remember that when you install the tensorflow the Keras is also installed so here if I import the Keras and if I press enter and once again if I print curious dots underscore underscore version underscore underscore and if I press enter you can see here is the version of Keras so you can see the Keras has been also successfully installed now I really suggest you to watch this video which is on the screen now
Info
Channel: Koolac
Views: 90,119
Rating: undefined out of 5
Keywords: tensorflow, tensorflow install, installing tensorflow on windows, installing tensorflow in python, installing tensorflow, tensorflow python, installing tensorflow python, tensorflow machine learning, tensorflow deep learning, tensorflow in python, tensorflow python 3.10, tensorflow installation, installing keras on windows, installing keras python, install keras, install tensorflow, deep learning, keras, How to install TensorFlow in Python, How to install Keras in Python
Id: 3ESKiJKzZwE
Channel Id: undefined
Length: 5min 38sec (338 seconds)
Published: Wed Nov 09 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.