Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (50.2k points)
I have been working with the latest version of Anaconda for Windows x64 with Python 3.8 and now I want to add the tensorflow module. By default, my Anaconda only recommends tensorflow 2.1.0 and fails to install it because it's not compatible with Python 3.8.

How can I install tensorflow 2.2.0?

1 Answer

0 votes
by (107k points)

If you have already installed tensorflow2.1 applying Conda it will then automatically installed cudnn 7.6.5 and CUDA Toolkit 10.1.243. These are cooperative with tensorflow 2.2. After that, you use pip to install tensorflow 2.2:

pip install tensorflow ==2.2.0

Conda at this point can only install tensorflow up to 2.1 that is why you have to use pip. pip does not automatically install cudnn or the Cuda toolkit but you previously have them installed when you install version 2.1 with Conda.

Want to become a Python Developer? Check out this insightful Python Certification course.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...