Skip to content

Setup CNTK on your machine

Chris Basoglu edited this page Feb 24, 2017 · 93 revisions

CNTK Setup

Simple CNTK Installation

CNTK is easy to install on Windows (for Linux, keep reading the rest of this page).

If you have a previously installed Anaconda3 Python 3.5, that is listed before any other pythons in your PATH, then to install CNTK (for CPU only) all you need to simply type the following in your command shell:

pip install https://cntk.ai/PythonWheel/CPU-Only/cntk-2.0.beta12.0-cp35-cp35m-win_amd64.whl

You can easily fine tune your PIP installation, including information about configuring information and the easy installation of tutorials, sample and Jupyter notebooks. The details are here.

For all the other ways to install CNTK or setup the CNTK development environment, see the links to the install options below.

Install CNTK for the first time or update to a new version


The Microsoft Cognitive Toolkit (CNTK) supports both 64-bit Windows and 64-bit Linux platforms.

You can install the complete source code of CNTK and build the binaries on your machine, but we also provide regular binary drops of the CNTK executables, including sample data and sample models.

Binary Installation (or Update) of CNTK

If you just want to download and install the latest precompiled binaries to your machine, follow the instructions here:

Windows Linux
Python-only installation
Script-driven installation Script-driven installation
Manual installation Manual installation
Docker installation

Installation and building of the CNTK codebase

If you want to take a look at the CNTK source code, compile CNTK yourself, make changes to the CNTK codebase, and contribute these changes back to the community, these are the pages for you:

Windows Linux
Script-driven development setup
Manual development Setup Manual Development Environment Setup
Migration from VS13 to VS15

Installation as Azure Virtual Machine or Linux Docker container

You may use CNTK via Microsoft Azure Virtual Machine offering (Windows and Linux) or install it as a Docker container (Linux). See the corresponding sections:

Usage and Samples

If you want to learn more about CNTK usage and how to execute the provided samples, you find more information on the following pages

Clone this wiki locally