Could not find a version that satisfies the requirement tensorflow

前端 未结 18 1285
深忆病人
深忆病人 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:46

    Running this before the tensorflow installation solved it for me:

    pip install "pip>=19"
    

    As the tensorflow's system requirements states:

    pip 19.0 or later

    0 讨论(0)
  • 2020-11-28 04:46

    In case you are using Docker, make sure you have

    FROM python:x.y.z

    instead of

    FROM python:x.y.z-alpine.

    0 讨论(0)
  • 2020-11-28 04:47

    I solved the same problem with python 3.7 by installing one by one all the packages required

    Here are the steps:

    1. Install the package
    2. See the error message:

      couldn't find a version that satisfies the requirement -- the name of the module required

    3. Install the module required. Very often, installation of the required module requires the installation of another module, and another module - a couple of the others and so on.

    This way I installed more than 30 packages and it helped. Now I have tensorflow of the latest version in Python 3.7 and didn't have to downgrade the kernel.

    0 讨论(0)
  • 2020-11-28 04:48

    There are a few important rules to install Tensorflow:

    • You have to install Python x64. It doesn't work on 32b and it gives the same error as yours.

    • It doesn't support Python versions later than 3.8 and Python 3.8 requires TensorFlow 2.2 or later.

    For example, you can install Python3.8.6-64bit and it works like a charm.

    0 讨论(0)
  • 2020-11-28 04:51

    I am giving it for Windows

    If you are using python-3

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

    If you are using python-2

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

    It worked for me

    0 讨论(0)
  • 2020-11-28 04:51

    Looks like the problem is with Python 3.8. Use Python 3.7 instead. Steps I took to solve this.

    • Created a python 3.7 environment with conda
    • List item Installed rasa using pip install rasa within the environment.

    Worked for me.

    0 讨论(0)
提交回复
热议问题