Installing TensorFlow and Keras on Windows 10 can be a bit tricky for beginners, but with the right instructions, you should be able to do it without any issues. In this tutorial, I will guide you through the step-by-step process of installing TensorFlow and Keras in Python on Windows 10.
Step 1: Install Python
The first step is to install Python on your Windows 10 machine. You can download the latest version of Python from the official website at https://www.python.org/downloads/. Make sure to select the box that says "Add Python to PATH" during installation to make it easier to run Python from the command line.
Step 2: Install pip
Pip is a package manager for Python that allows you to easily install and manage Python packages. To install pip, open the command prompt and run the following command:
python -m ensurepip --default-pip
Step 3: Install TensorFlow
To install TensorFlow, you can use pip. Open the command prompt and run the following command:
pip install tensorflow
This will download and install the latest version of TensorFlow on your Windows 10 machine.
Step 4: Install Keras
Keras is a high-level neural networks API that is built on top of TensorFlow. You can install Keras using pip by running the following command:
pip install keras
This will download and install Keras on your Windows 10 machine.
Step 5: Verify installation
To verify that TensorFlow and Keras have been successfully installed, you can run the following commands in the command prompt:
python -c "import tensorflow as tf; print(tf.__version__)"
This will print out the version of TensorFlow that is installed on your machine. Similarly, you can check the version of Keras by running the following command:
python -c "import tensorflow as tf; print(tf.keras.__version__)"
This will print out the version of Keras that is installed on your machine.
Congratulations! You have successfully installed TensorFlow and Keras on your Windows 10 machine. You can now start building and training neural networks using these powerful libraries. If you encounter any issues during the installation process, feel free to ask for help on forums or online communities dedicated to Python and machine learning. Good luck!
How can i use tensorflow after the installation is successfully completed?
no ouput showing
thank you man ! you saved me
This is my problem for about 2 months now. And you solved it in 5 minutes. Soooo impressed. Thank you so much!
Thanks for this video
Installation in one single attempt. Just brilliant. Greetigns from Colombia, South America!
"WARNING: The scripts import_pb_to_tensorboard.exe, saved_model_cli.exe, tensorboard.exe, tf_upgrade_v2.exe, tflite_convert.exe, toco.exe and toco_from_protos.exe are installed in 'C:UsersoguzhanAppDataLocalPackagesPythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0LocalCachelocal-packagesPython310Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use –no-warn-script-location." is it a big problem?
Heyy broo my Python version is 3.12 how Can i install tensorflow and keras plzz reply
thank you so much. been having a really hard time to install this
stuck in 3:23,when i click enter, it shows differently.
C:Usersuser>cd C:UsersuserAppDataRoamingMicrosoftWindowsStart MenuProgramsPython 3.11
C:UsersuserAppDataRoamingMicrosoftWindowsStart MenuProgramsPython 3.11>
Thanks Buddy 🙂
this helped me a lot… i was struggling to install tensorflow and keras from past 4 days. But….. Now iam in a relief. thanks buddy 🙂
I am installing tensorflow but it is not available for windows onky for macos and linux .how I install
May God bless you! I was trying to install TensorFlow for a long time but never succeded. Today, thanks to you I have managed to do it thank you again
I realize major companies do not want regular citizens to use tensorflow, same for openai, it always bring up ERROR MESSAGES 🤷🏿♂️
Not working
Not working. The same as the beginning.
ERROR: tensorflow-2.15.0-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.
please solve this error
This is not working on mine …
tensorflow-2.14.0-cp311-cp311-win_amd64.whl is not a supported wheel on this platform.
I am getting eorror ERROR: tensorflow-2.14.0-cp310-cp310-win_amd64.whl is not a supported wheel on this platform.