Reputation: 11
I am using windows 10. My pip version is 20.2.4 and the python version is 3.8. How can I upgrade TensorFlow from 2.1 to 2.2 in anaconda?
I tried to upgrade TensorFlow, then I got the warning: enter image description here
I again tried to run my code in jupyter notebook. And it shows the above import error.
Upvotes: 1
Views: 1047
Reputation:
To install tensorflow on Windows. Follow the official website of Tensorflow
Or simply follow the below steps.In Anaconda, create a virtual environment using conda
conda create --name tf python=3.8
conda activate tf # activate tf environment
pip install tensorflow # install latest version of Tensorflow 2.4
import tensorflow
from tensorflow import keras
Upvotes: 1