Search code examples
pythonpython-3.xtensorflowpipartificial-intelligence

Pip can't install tensorflow cause it doesn't exists


I'm trying to install tensorflow 2 in windows by using pip,but it outputs the following error: ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)

Ah! I did pip list and tensorflow don't appears


Solution

  • For the current latest tensorflow release (2.1.0) on Windows, you need Python 3.5, 3.6, or 3.7. It is not supported for other versions, such as Python 3.8 for example, 2.7 is supported but not on Windows.

    Install python3.7 on Unix systems with apt:

    sudo apt-get install python3.7
    

    Install python3.7 on Unix systems with access to the AUR:

    yay -S python37
    

    Then you can install tensorflow with:

    python3.7 -m pip install tensorflow