TensorFlow not found using pip

后端 未结 30 2817
有刺的猬
有刺的猬 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:30

    I found this to finally work.

    python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
    

    Edit 1: This was tested on Windows (8, 8.1, 10), Mac and Linux. Change python3 to python according to your configuration. Change py3 to py2 in the url if you are using Python 2.x.

    Edit 2: A list of different versions if someone needs: https://storage.googleapis.com/tensorflow

    Edit 3: A list of urls for the available wheel packages is available here: https://www.tensorflow.org/install/pip#package-location

提交回复
热议问题