xxxxxxxxxx
conda create -n tf_gpu
conda activate tf_gpu # You can always call the env with this line
conda install tensorflow-gpu
xxxxxxxxxx
# conda export environment.yml
conda env export > environment.yml
# conda create environment from file (Same environment name)
conda env create -f environment.yml
xxxxxxxxxx
conda create --name myenv
#to activate environment:
conda activate myenv
xxxxxxxxxx
conda create -n <my_env> python=3.8
#Remember to install "ipykernel" so you can use jupyter notebook.
conda install ipykernel