Could not find version satisfying tenorflow requirement

I installed the latest version of Python (3.6.4 64-bit) and the latest version of PyCharm (2017.3.3 64-bit) . Then I installed some modules in PyCharm (Numpy, Pandas, ...), but when I tried to install Tensorflow, it did not install, and I received an error message:

Could not find a version that satisfies the tensor flow requirement (from versions :) No corresponding distribution for the tensor flow was found

Then I tried installing tenorflow from the command line and got the same error message. However, I have successfully installed tflearn.

I also installed Python 2.7, but I got the same error message again. I googled the error and tried some things that were suggested to other people, but nothing helped (this included installing Flask).

How can I install Tensorflow? Thank you

+69
source share
9 answers

The flow tensor as of August 13-2018 supports Python 3.6.x. Install Python 3.6.x

+42
source

If you are using Anaconda , Python 3.7 is installed by default, so you should downgrade it to 3.6:

Conda set python = 3.6

then:

installation point tenorflow

it worked for me in Ubuntu.

+21
source

I give it for windows

If you are using Python-3

  1. Update pip to the latest version using py -m pip install --upgrade pip
  2. Install the package using py -m pip install <package-name>

If you are using Python -2

  1. Update pip to the latest version using py -2 -m pip install --upgrade pip
  2. Install the package using py -2 -m pip install <package-name>

It worked for me

+13
source

There are two important rules for installing Tensorflow:

  • You must install Python x64 . It does not work on 32b and produces the same error as yours.

  • It does not support the latest version of Python3 = 3.7.

For example, you can install Python3.6.2-64bit, and it works like Charm.

Python 3.7 update : for anyone with Python 3.7 (like in conda), you can use the following command to install tenorflow:

 pip install tf-nightly 
+12
source

Removing Python and then reinstalling solved my problem and I was able to successfully install TensorFlow.

+7
source

Python version not supported Remove Python

https://www.python.org/downloads/release/python-362/

You must check and use the exact version on the installation page. https://www.tensorflow.org/install/install_windows

python 3.6.2 or python 3.5.2 solved this problem for me

+7
source

There are several ways.

You can install TensorFlow using any of the following methods.

  • Anaconda .
  • pip install tensorflow or pip3 install tensorflow

After installation

  • go to the terminal and check if it is installed. Open a terminal, then write python , then import tensorflow as tf . That is, you should not see an error message.

  • In PyCharm:

    • Go to Preference - Console - Python Console
    • Check your python interpreter. If you used Anaconda and the Flow tensor now exists, select Python 3.6.0 ( anaonda/bin/python3.<version number>) Or without Anaconda, select the python interpreter so that you install shadoworflow (2.7 or 3.6. +)

Here it is.

0
source

Tensorflow needs special versions of tools and libraries. Pip only cares about the Python version.

To deal with this on a professional level (that is, save time for me and others), you must establish a special environment for each software like this.

An advanced tool for this is conda.

I installed Tensorflow with these commands:

sudo apt install python3

sudo update alternatives --install / usr / bin / python python / usr / bin / python3 1

sudo apt install python3-pip

sudo apt-get install curl

curl https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh > Miniconda3-latest-Linux-x86_64.sh

bash Miniconda3-latest-Linux-x86_64.sh

Yes

source ~ / .bashrc

  • installs his own phyton, etc.

nano .bashrc

  • maybe insert your proxies here, etc.

conda create --name your_name python = 3

Konda activate your name

conda install -c conda-forge flow tensor

  • check everything went well

python -c "import tensor stream as tf; tf.enable_eager_execution (); print (tf.reduce_sum (tf.random_normal ([1000, 1000])))"

PS: some commands that may be useful

https://www.tensorflow.org/install/pip

uses virtualenv. Konda is more capable. Minicond is enough; complete conda is not needed

0
source

I successfully installed it, pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py3-none-any.whl

0
source

Source: https://habr.com/ru/post/1275285/


All Articles