mac下升级安装python3并安装tensorflow

该博客介绍了Python3和TensorFlow的安装方法。先通过brew install python3安装Python3,可用python3 —version或python3 -V查看版本;再使用pip3 install tensorflow安装TensorFlow,最后展示了安装过程及成功安装的提示信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

安装

brew install python3

查看安装的版本

python3 —version或python3 -V

安装tensorflow

pip3 install tensorflow

 

最后提示文字:

Installing collected packages: tensorflow-estimator, six, numpy, keras-preprocessing, gast, grpcio, setuptools, markdown, absl-py, werkzeug, protobuf, tensorboard, astor, google-pasta, termcolor, wrapt, h5py, keras-applications, tensorflow

  Found existing installation: setuptools 39.2.0

    Uninstalling setuptools-39.2.0:

      Successfully uninstalled setuptools-39.2.0

Successfully installed absl-py-0.7.1 astor-0.8.0 gast-0.2.2 google-pasta-0.1.7 grpcio-1.21.1 h5py-2.9.0 keras-applications-1.0.8 keras-preprocessing-1.1.0 markdown-3.1.1 numpy-1.16.4 protobuf-3.8.0 setuptools-41.0.1 six-1.12.0 tensorboard-1.14.0 tensorflow-1.14.0 tensorflow-estimator-1.14.0 termcolor-1.1.0 werkzeug-0.15.4 wrapt-1.11.2

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值