03.安装TensorFlow

一:进入项目环境进行安装

通过Anaconda进入环境

Open Terminal

官方指引

二:验证安装成功

进入Python交互模式,引入TensorFlow头文件,没有报错就成功了

(TensorFlow2) gebiwangshushudeMacBook:~ RyukieW$ python
Python 3.8.8 (default, Feb 24 2021, 13:46:16) 
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow
>>> 
>>> exit()
(TensorFlow2) gebiwangshushudeMacBook:~ RyukieW$

Last updated