#安装tensorflow的血泪史

    作为一只小白,在安装tensorflow的时候出现了各种问题……希望有一些和我出现同样问题的人可以少走一点弯路……鉴于我是用pip安装(即python2.7,如果是更高版本用pip3),在这里只提供pip在OS X上安装的方法。

    系统:OS X 10.13,安装的python2.7,tensorflow1.3.0,bazel0.7.0

    安装tensorflow的步骤可以参考中文社区,当然如果能翻墙去官网那是最好的,里面的步骤真的很简单……

   官网:https://www.tensorflow.org/install/install_mac


1、安装python

    由于tensorflow需要python环境,所以第一步是安装python,你可以选择安装2.7或者3.3+的版本

    官网连接pip中的安装:

Most distributions of Python come with pip preinstalled. If pip is missing, it can be installed through the system package manager or by invoking cURL, a client-side data transfer tool:

curl https://bootstrap.pypa.io/get-pip.py | python

One major advantage of pip is the ease of its command-line interface, which makes installing Python software packages as easy as issuing one command:

pip install some-package-name

Users can also easily remove the package:

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值