Could not find a version that satisfies the requirement tensorflow

前端 未结 18 1332
深忆病人
深忆病人 2020-11-28 04:11

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

18条回答
  •  盖世英雄少女心
    2020-11-28 04:29

    For version TensorFlow 2.2:

    1. Make sure you have python 3.8

    try: python --version

    or python3 --version

    or py --version

    1. Upgrade the pip of the python which has version 3.8

    try: python3 -m pip install --upgrade pip

    or python -m pip install --upgrade pip

    or py -m pip install --upgrade pip

    1. Install TensorFlow:

    try: python3 -m pip install TensorFlow

    or python -m pip install TensorFlow

    or py -m pip install TensorFlow

    1. Make sure to run the file with the correct python:

    try: python3 file.py

    or python file.py

    or py file.py

提交回复
热议问题