0% found this document useful (0 votes)
3 views1 page

New Environment Creation Steps

This document outlines the steps to create a new Anaconda environment and install TensorFlow along with other libraries. It includes commands for creating and activating the environment, installing necessary packages, and verifying installations of TensorFlow, Keras, and PyTorch. Finally, it suggests executing a Jupyter notebook to ensure everything works correctly.

Uploaded by

1dt22cg005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

New Environment Creation Steps

This document outlines the steps to create a new Anaconda environment and install TensorFlow along with other libraries. It includes commands for creating and activating the environment, installing necessary packages, and verifying installations of TensorFlow, Keras, and PyTorch. Finally, it suggests executing a Jupyter notebook to ensure everything works correctly.

Uploaded by

1dt22cg005
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Steps to create a new environment and install tensorflow:

1. Open Anaconda Prompt


• Launch the Anaconda Prompt (not the normal command prompt).
2. Create a New Environment
Use the following command to create a new virtual environment (e.g.,
named tf_env) with Python 3.9:
conda create -n tf_env python=3.9
3. Activate the Environment
conda activate tf_env

4. Install other required libraries:


pip install jupyter numpy pandas seaborn matplotlib tensorflow

5. Check the tensorflow version


import tensorflow as tf
print(tf.__version__)

6. Install Pytorch
pip install torch torchvision torchaudio

7. Check the installation of Keras and pytorch using the following


commands:
# Test Keras
from tensorflow import keras
print("Keras OK:", keras.__version__)

# Test PyTorch
import torch
print("PyTorch OK:", torch.__version__)
8. After installing all the libraries, execute the jupyter notebook shared in
the group and check if it gets executed successfully

You might also like