A Simple Guide to Installing Tensorflow in Jupyter Notebook

Posted by

How to Install Tensorflow in Jupyter Notebook (Easy Method)

How to Install Tensorflow in Jupyter Notebook (Easy Method)

If you’re looking to install Tensorflow in Jupyter Notebook, you’re in the right place. This article will guide you through the process with an easy method.

Step 1: Install Anaconda

The first step is to install Anaconda, which is a popular platform for data science and machine learning. You can download Anaconda from their official website and follow the installation instructions.

Step 2: Create a New Conda Environment

Once you have Anaconda installed, open the Anaconda Prompt and create a new conda environment by running the following command:

conda create -n tensorflow_env python=3.7

Step 3: Activate the Conda Environment

After creating the conda environment, activate it with the following command:

conda activate tensorflow_env

Step 4: Install Tensorflow

Now that the conda environment is activated, you can install Tensorflow using the following command:

pip install tensorflow

Step 5: Install Jupyter Notebook

If you don’t already have Jupyter Notebook installed, you can install it in the conda environment with the following command:

conda install jupyter

Step 6: Open Jupyter Notebook

Finally, you can open Jupyter Notebook and start using Tensorflow. Simply run the following command in the Anaconda Prompt:

jupyter notebook

Once Jupyter Notebook is open, you can create a new notebook and start writing and running Tensorflow code.

Conclusion

Installing Tensorflow in Jupyter Notebook is a straightforward process when using Anaconda. By following these simple steps, you can have a working environment for developing machine learning models with Tensorflow in no time.

0 0 votes
Article Rating
3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@divyas2958
6 months ago

i got this. ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)

ERROR: No matching distribution found for tensorflow

@ravikumar46931
6 months ago

Yes it is helpful, how can we install tensorflow on default kernel shows at there in jupyter notebook. I

@chibuezeonejeme5301
6 months ago

nice tutorial, keep it up