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 PyCha
Python version is not supported Uninstall python
https://www.python.org/downloads/release/python-362/
You should check and use the exact version in install page. https://www.tensorflow.org/install/install_windows
python 3.6.2 or python 3.5.2 solved this issue for me
For version TensorFlow 2.2:
try:
python --version
or
python3 --version
or
py --version
try:
python3 -m pip install --upgrade pip
or
python -m pip install --upgrade pip
or
py -m pip install --upgrade pip
try:
python3 -m pip install TensorFlow
or python -m pip install TensorFlow
or py -m pip install TensorFlow
try:
python3 file.py
or python file.py
or py file.py
use python version 3.6 or 3.7 but the important thing is you should install the python version of 64-bit.
I installed it successfully by
pip install https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py3-none-any.whl
Uninstalling Python and then reinstalling solved my issue and I was able to successfully install TensorFlow.
As of October 2020:
Tensorflow only supports the 64-bit version of Python
Tensorflow only supports Python 3.5 to 3.8
So, if you're using an out-of-range version of Python (older or newer) or a 32-bit version, then you'll need to use a different version.