tensorflow安装

 

1.python2.7:

1)pythonbrew install 2.7.9 --configure "--enable-unicode=ucs4"

或者用源码安装python 但是一定要config:--enable-unicode=ucs4,否则import tensorflow会报错:undefined symbol: PyUnicodeUCS4_AsUTF8String

 

2)sudo pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0-cp27-none-linux_x86_64.whl

 

 

2.python3.4

https://pypi.python.org/pypi/tensorflow/1.2.0rc0

tensorflow-1.2.0rc0-cp34-cp34m-manylinux1_x86_64.whl

sudo pip install tensorflow-1.2.0rc0-cp34-cp34m-manylinux1_x86_64.whl

 

posted @ 2017-05-19 16:04  Django's blog  阅读(327)  评论(0编辑  收藏  举报