Tutorial: Anaconda + Spyder + TensorFlow 2.0 @ Windows 10
Installation of TensorFlow 2.0 on Anaconda3 at Windows 10
--
Sometimes, you may just want to try out or test some simple things for TensorFlow. Google Colab can be used. However, the connection sometimes is not stable. Also, by 01/11/2019, Anaconda is supporting the TensorFlow 2.0. In this story, I will install Anaconda, Spyder and TensorFlow 2.0 in Windows 10. (Sik-Ho Tsang @ Medium)
Outline
- Anaconda Installation
- TensorFlow 2.0 Installation
- Spyder Installation
- Import TensorFlow
1. Anaconda Installation
- Assume you already got Windows 10, go to https://www.anaconda.com or https://www.anaconda.com/distribution/#download-section to download the Anaconda for Windows.
- I downloaded Python 3.7 64-Bit version as shown above.
2. TensorFlow Installation
2.1. Direct installation
conda install tensorflow
or conda install tensorflow-gpu
2.2. Installation Using Virtual Environment
- CPU:
conda create -n <your_env_name> tensorflow
- GPU:
conda create -n <your_env_name> tensorflow-gpu
- Since my PC only got CPU without GPU, and I chose to use virtual environment. I used 2.2 CPU one. This also help me to keep clean for the base. With the vitural environment named tf2:
conda create -n tf2 tensorflow
3. Spyder Installation
- After that, open Anaconda Navigator.
- Click Application on <your_enc_name> to change the environment from base to <your_enc_name>.
- You can see there are several applications can be installed, such as Spyder, and Jupyter Notebook.
- Click the setting icon and choose “Install application” to install Spyder.
4. Import TensorFlow
- To see if it is installed, simply try the below Python code to see any errors:
import tensorflow as tf
My Previous Tutorials
Linux [Ubuntu Installation] [NVIDIA Driver Installation (2018) (Old)] [OpenSSH Installation] [Hard Drive Partitioning/Formatting/Mounting] [Add 1 More GPU] [TeamViewer Installation][NVIDIA Driver Installation (2019)]
Windows [Anaconda + Spyder + TensorFlow 2.0 @ Windows 10]
Docker [Docker Installation] [Pulling Image] [Running Image] [Exporting/Saving Image] [Nvidia-Docker 2.0 Installation]
Caffe [Image Classification] [Handwritten Digit Classification] [Style Recognition]
Video Coding [Generate VTM Solution (2019) (Old)] [Generate HM+360 Solution] [Generate VTM+360 Solution] [Generate VTM Solution (2020)]