- Hands-On Deep Learning Architectures with Python
- Yuxi (Hayden) Liu Saransh Mehta
- 170字
- 2021-06-24 14:48:13
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.
推薦閱讀
- OpenStack for Architects
- Visual FoxPro 6.0數據庫與程序設計
- 最簡數據挖掘
- Python Algorithmic Trading Cookbook
- 機器人創新實訓教程
- 網絡組建與互聯
- LAMP網站開發黃金組合Linux+Apache+MySQL+PHP
- HTML5 Canvas Cookbook
- Microsoft System Center Confi guration Manager
- Visual Studio 2010 (C#) Windows數據庫項目開發
- 機床電氣控制與PLC
- 納米集成電路制造工藝(第2版)
- 實戰Windows Azure
- 大型機系統應用基礎
- 網絡信息安全項目教程