- Deep Learning with Microsoft Cognitive Toolkit Quick Start Guide
- Willem Meints
- 253字
- 2021-07-02 12:08:38
Installing Anaconda
Before we can install Anaconda, we need to make sure that the system is fully up to date. To check this, execute the following two commands inside a terminal:
sudo apt update
sudo apt upgrade
Automatically Programmed Tool (APT) is used to install all sorts of packages inside Ubuntu. In the code sample, we first ask apt to update the references to the various package repositories. We then ask it to install the latest updates.
After the computer is updated, we can start the installation of Anaconda. First, navigate to https://www.anaconda.com/download/ to get the URL for the latest Anaconda installation files. You can right-click on the download link and copy the URL to your clipboard.
Now open up a terminal window and execute the following command:
wget -O anaconda-installer.sh url
Make sure to replace the url placeholder with the URL you copied from the Anaconda website. Press Enter to execute the command.
Once the installation file is download, you can install Anaconda by running the following command:
sh ./anaconda-installer.sh
This will start the installer. Follow the instructions on the screen to install Anaconda on your computer. By default, Anaconda gets installed in a folder called anaconda3 inside your home directory.
As is the case with the Windows version of CNTK 2.6, it only supports Python 3.6. You can either get an older distribution of Anaconda through their archives at https://repo.continuum.io/archive/, or downgrade your Python version by executing the following command in your terminal:
conda install python=3.6