TensorFlow not found using pip

后端 未结 30 2539
有刺的猬
有刺的猬 2020-11-22 08:06

I\'m trying to intstall TensorFlow using pip:

$ pip install tensorflow --user
Collecting tensorflow
Could not find          


        
30条回答
  •  失恋的感觉
    2020-11-22 08:14

    Updated 11/28/2016: TensorFlow is now available in PyPI, starting with release 0.12. You can type

    pip install tensorflow
    

    ...or...

    pip install tensorflow-gpu
    

    ...to install the CPU-only or GPU-accelerated version of TensorFlow respectively.


    Previous answer: TensorFlow is not yet in the PyPI repository, so you have to specify the URL to the appropriate "wheel file" for your operating system and Python version.

    The full list of supported configurations is listed on the TensorFlow website, but for example, to install version 0.10 for Python 2.7 on Linux, using CPU only, you would type the following command:

    $ pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0rc0-cp27-none-linux_x86_64.whl
    

提交回复
热议问题