官术网_书友最值得收藏!

Installing TensorFlow CPU

We mentioned earlier that TensorFlow is not currently stable with Python 3.7. Therefore, we will use Conda to install TensorFlow rather than using pip. Conda deals with it in a unique way. As soon as you issue the following command to install TensorFlow, Conda also downloads and installs the other required packages. It also restores Python to the version with which TensorFlow is known to be stable, say Python 3.6.8! Type the following commands into the Terminal window (except the mentioned comments) to install TensorFlow CPU:

# go to the deep_learning directory
cd deep_learning

# activate the environment
conda activate test_env

# install TensorFlow CPU
conda install tensorflow

After the installation, you can run Python to check whether Conda has restored the version or not.

The commands mentioned are as per the time of publishing this book. You must know that the libraries and repositories keep on changing. In case the commands don't work properly, it is advised to check for the latest updates from the source.
主站蜘蛛池模板: 正蓝旗| 紫阳县| 天等县| 聂荣县| 和硕县| 鹤岗市| 怀宁县| 长泰县| 汉川市| 青阳县| 自贡市| 西平县| 新巴尔虎左旗| 张家界市| 永福县| 淮安市| 贵州省| 虹口区| 钦州市| 建湖县| 绵阳市| 通州市| 景东| 开平市| 孝义市| 苗栗县| 阿合奇县| 壶关县| 迭部县| 莱阳市| 革吉县| 治多县| 潢川县| 灵台县| 浮山县| 内江市| 阿拉善盟| 长宁区| 泾阳县| 油尖旺区| 阿鲁科尔沁旗|