tensorflow 配置

https://github.com/tensorflow/tensorflow
pip install tf-nightly

https://blog.csdn.net/miller1026/article/details/80652696
深度学习初探


https://blog.csdn.net/dengheCSDN/article/details/78195573?locationNum=10&fps=1
TensorFlow安装(安装bazel,配置TensorFlow编译环境,利用源码安装TensorFlow)
参照
3、当环境配置完成以后,通过 bazel 来编译 pip 的安装包,然后通过 pip 安装


bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
报错 “error: invalid command 'bdist_wheel'”
解决方案: pip install wheel



特别注意的是:不要用 “sudo pip install”, 否则会使用 /usr/local/lib/python2.7,

pip install /tmp/tensorflow_pkg/tensorflow-1.8.0rc1-cp27-cp27mu-linux_x86_64.whl




猜你喜欢

转载自blog.csdn.net/longbinliu/article/details/80747854