Hello. I intend to import Tensorflow module on Python. In order to do that, I executed:
python -m pip install tensorflow
Result is rolling down:
D:\Program Files\Python>python -m pip install tensorflow
Collecting tensorflow
Using cached tensorflow-2.5.0-cp39-cp39-win_amd64.whl (422.6 MB)
Collecting tensorflow-estimator<2.6.0,>=2.5.0rc0
Using cached tensorflow_estimator-2.5.0-py2.py3-none-any.whl (462 kB)
Collecting tensorboard~=2.5
Using cached tensorboard-2.5.0-py3-none-any.whl (6.0 MB)
Collecting grpcio~=1.34.0
Using cached grpcio-1.34.1-cp39-cp39-win_amd64.whl (2.9 MB)
Collecting astunparse~=1.6.3
Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting protobuf>=3.9.2
Using cached protobuf-3.17.3-py2.py3-none-any.whl (173 kB)
Collecting gast==0.4.0
Using cached gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting keras-preprocessing~=1.1.2
Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB)
Until to termcolor:
Using cached termcolor-1.1.0.tar.gz (3.9 kB)
ERROR: Command errored out with exit status 1:
command: 'D:\Program Files\Python\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Flaviu\\AppData\\Local\\Temp\\pip-install-3682bk64\\termcolor_a744f0bb14a04f7b8bb6040da9009766\\setup.py'"'"'; __file__='"'"'C:\\Users\\Flaviu\\AppData\\Local\\Temp\\pip-install-3682bk64\\termcolor_a744f0bb14a04f7b8bb6040da9009766\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Flaviu\AppData\Local\Temp\pip-pip-egg-info-whf7l7sq'
cwd: C:\Users\Flaviu\AppData\Local\Temp\pip-install-3682bk64\termcolor_a744f0bb14a04f7b8bb6040da9009766\
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Flaviu\AppData\Local\Temp\pip-install-3682bk64\termcolor_a744f0bb14a04f7b8bb6040da9009766\setup.py", line 35, in <module>
from termcolor import VERSION
ModuleNotFoundError: No module named 'termcolor'
ERROR: Could not find a version that satisfies the requirement termcolor~=1.1.0 (from tensorflow) (from versions: 0.1, 0.1.1, 0.1.2, 0.2, 1.0.0, 1.0.1, 1.1.0)
ERROR: No matching distribution found for termcolor~=1.1.0
Why I got this message ? What I have done wrong ?
First, this path: C:\Users\Flaviu\AppData\Local\Temp\pip-install-3682bk64\termcolor_a744f0bb14a04f7b8bb6040da9009766\
it is innexistent.
Where should I dig in for errors ?