Reputation: 53
I have created the tensorflow environment using the following set of commands:
conda create --name py3-TF2.0 python = 3
conda activate py3-TF2.0
conda install tensorflow
pip install -upgrade tensorflow
pip install ipykernel
Upvotes: 0
Views: 212
Reputation: 2832
What you can do is run the jupyter notebook and try installing tensorflow from there.
In a jupyter notebook cell type in:
!pip install tensorflow==2.0.0
(dont miss the ! sign before)
To test:
import tensorflow as tf
tf.__version__
Upvotes: 0
Reputation:
Try these steps to install Tensorflow using Conda
#create virtual environmenttf2.0 using conda
conda create --name tf2.0 python=3
#Activate the env
conda activate tf2.0
#Install Tensorflow
tf2.0$pip install tensorflow
tf2.0$python
#Verify the Tensorflow installation before launching any of the IDE
>>import tensorflow as tf
>>tf.__version__
#Launch the jupyter notebook
tf2.0$conda install jupyter
tf2.0$jupyter notebook
Upvotes: 1