TensorFlow 2.2 can't be installed with Python 3.8!

0. Overview

I tried to install TensorFlow v2.2.0 with the update to Python 3.8.3, but I got hooked. In conclusion, if I backdate to Python 3.7.6, I can install it without any problem.

1. Background

Python beginners are building an environment for studying TensorFlow packages.

2. Environment

OS:Windows10 Enterprise 1809 64bit Python: (Before change) 3.8.3, (After change) 3.7.6

3. Trouble

I tried to install the tensorflow package with the following command, but I got an Error statement.

Command entered


pip install tensorflow      (c1)

Output result


ERROR: Could not find a version that satisfies the requirement TensorFlow (from versions: none)
ERROR: No matching distribution found for TensorFlow

4. Solution

I also updated pip, but the problem was not solved. Then, I downloaded the whl file from the following page and tried to pip install locally, but it still doesn't work.

https://pypi.org/project/tensorflow/#files

why? I tried various things, but I just got hooked on it.

So, after investigating various things, it is said that tensorflow may not support the Python version that has just been released. In fact, when Python v3.7 was up to date, I found a web page with a note saying "tensorflow doesn't work without Python 3.6!". Eh, really? At the above URL, there is also a file "tensorflow-2.2.0-cp38-cp38-win_amd64.whl" ...

So, quietly create a new virtual environment for Python v3.7.6 and enter the command (c1) again.

The installation started smoothly. Chan Chan.

5. Supplement

Depending on the information, there may be a comment that "tensorflow is compatible with v3.8", so maybe v3.8.1 or v3.8.2 will support it. However, if you attack too much here, the same problem may occur with other packages, so we will proceed with v3.7.6 first.

Recommended Posts

TensorFlow 2.2 can't be installed with Python 3.8!
I can't install python3 with pyenv-vertualenv
(Note) Be careful with python argparse
I installed and used Numba with Python3.5
Python modules with "-(hyphen)" cannot be removed
FizzBuzz with Python3
Scraping with Python
Statistics with python
Scraping with Python
Python with Go
Twilio with Python
Integrate with Python
Play with 2016-Python
AES256 with python
Tested with Python
python starts with ()
with syntax (Python)
Bingo with python
Zundokokiyoshi with python
Zundokokiyoshi with TensorFlow
Breakout with Tensorflow
Excel with Python
Microcomputer with Python
Cast with python
Flask can't be RESTful with azure API Apps
Project cannot be created with Python3.5 (Windows) + django1.7.1
Make OpenCV3 available from python3 installed with pyenv
Investigation when import cannot be done with python
PIL cannot be installed by virtualenv with pyenv
De-VBA Excel tool! Eliminate VBA tool with Python in environment where Python cannot be installed
Serial communication with Python
Zip, unzip with python
Django 1.11 started with Python3.6
Python with eclipse + PyDev.
Socket communication with Python
Data analysis with python 2
Scraping with Python (preparation)
Try scraping with Python.
Learning Python with ChemTHEATER 03
Sequential search with Python
"Object-oriented" learning with python
Run Python with VBA
Handling yaml with python
Solve AtCoder 167 with python
Serial communication with python
[Python] Use JSON with Python
Learning Python with ChemTHEATER 05-1
Learn Python with ChemTHEATER
Run prepDE.py with python3
Japanese can be used with Python in Docker environment
1.1 Getting Started with Python
Collecting tweets with Python
Binarization with OpenCV / Python
3. 3. AI programming with Python
Import libraries that cannot be pip installed with PyCharm
Kernel Method with Python
Non-blocking with Python + uWSGI
Scraping with Python + PhantomJS
Posting tweets with python
Reading data with TensorFlow
Use Python installed with pyenv for PL / Python execution environment