且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用pip找不到TensorFlow

更新时间:2023-09-04 19:30:52

我发现它终于可以工作了.

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

已在Windows(8、8.1、10),Mac和Linux上进行过测试.根据您的配置将python3更改为python.如果您使用的是Python 2.x,请在网址中将py3更改为py2.

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.

如果有人需要,则列出不同版本: https://storage.googleapis.com/tensorflow

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

可用的滚轮套件的网址列表在此处提供: https://www.tensorflow.org/install/pip#package-location

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