TensorFLow is open source software library for Machine Intelligence by Google. It make it easier for developers to design, build, and train deep learning models…
Tensorflow is a Python library and it require Python 3.5 and higher otherwise it won’t work.
Follow the below steps to install Python and Tensorflow in Windows system.
Step 1: Install python.
To install Python go to https://www.python.org/
Check out for 64 bit executable installer and download the exe file and run the exe file…
Once installation is done add it in your environment variable..
To find the environment variable in your system follow below steps:
- Right-click ‘Computer’ in the Navigation Tree Panel on the left.
- Select ‘Properties’ at the bottom of the Context Menu.
- Select ‘Advanced system settings’
- Click ‘Environment Variables…’ in the Advanced Tab
Then add python_home and python path.
- Add in system variable name PYTHON_HOME
And add python path in my case python is located in below location C:\Users\xyz..\AppData\Local\Programs\Python\Python36
- Then add below in path variable
Append ‘;%PYTHON_HOME%\;%PYTHON_HOME%Scripts\’ at the end of the path variable.
Restart system once done..
Too check whether Python installed. Just go to cmd prompt and type Python.
If you receive below message then Python is installed successfully.
Step 2:
To install Tensorflow type below command
python -m pip install tensorflow
To check whether tensorflow installed successfully open cmd and check with below commands.
- python
- import tensorflow as tf
- tf.__version__
HaPpY CoDiNg…..