人工智能一之TensorFlow环境配置

python学习网 2017-06-29 07:29:02

1.安装pip:sudo apt-get install python-pip python-dev

2.定义仅支持CPU的python2.7环境下TensorFlow安装包地址:export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl

3.通过PIP安装TensorFlow:sudo pip install --upgrade $TF_BINARY_URL

阅读(846) 评论(0)