N
N
Nikcet2020-05-28 21:40:26
Python
Nikcet, 2020-05-28 21:40:26

Why doesn't Python see tensorflow?

"Installed" tensorflow with pip install tensorflow.
When the terminal showed Successfully installed tensorflow-2.2.0, I enter the command to check:
tensorflow --version
gives an error:
tensorflow : The name "tensorflow" is not recognized as the name of a cmdlet, function, script file, or executable program.

The incompatibility of tf itself with python is a minus. Installed version 1.5 - the same reaction, Python version - 3.7.6, 64 bit.

Here I installed version 1.15:
Successfully installed gast-0.2.2 tensorboard-1.15.0 tensorflow-1.15.0 tensorflow-estimator-1.15.1 Did

it start after that? ...Not.

Why?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikcet, 2020-05-30
@Nikcet

Problem solved.
Downloading the .whl file directly to the local computer helped, installing it via pip unstall path\to\file\***.whl (didn't work at this stage), and then updating tf via pip install --upgrade tensorflow.
Also, the tensorflow --version command was originally not supposed to work *facepalm*
I don't remember where I read it, but it was a fiasco.

D
Developer, 2020-05-28
@samodum

Few data.
System.
Version.
Environment.
Video card.
Drivers
And so on ...
I suffered for several days when I put TF on my laptop

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question