- 安装Anaconda环境,在此就不多说
- 进入tensorflow官网使用conda安装https://www.tensorflow.org/install/install_mac?hl=zh-cn#installing_with_anaconda
3.安装conda create -n tensorflow pip python=3.6
- 激活
source activate tensorflow
pip install --upgrade pip
更新pip环境pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.3.0-py2-none-any.whl
- 如果报错的话,把 https://storage.googleapis.com/ 替换为 https://mirrors.tuna.tsinghua.edu.cn/ 即可。
-
然后测试
MAC OS平台通过anaconda搭建tensorflow环境(Python 3.6版本)
猜你喜欢
转载自blog.csdn.net/karmacode/article/details/79602800
今日推荐
周排行