Setting up Windows 10 environment for AI Apps with Azure Cognitive Services

If you want to complete the exercise on your own computer, you can do so by installing the following software. You may experience unexpected dialogs and behavior when using your own environment. Due to the wide range of possible local configurations.

Prerequisites for this labs : Azure Account

Note: The instructions below are for a Windows 10 computer. You can also use Linux or MacOS. You may need to adapt the lab instructions for your chosen OS.

Base Operating System (Windows 10)

Windows 10

Install Windows 10 and apply all updates.

Edge

Install Edge (Chromium)

.NET Core SDK

C++ Redistributable

Node.JS

Python (and required packages)

  • Download version 3.8 from https://docs.conda.io/en/latest/miniconda.html
  • Run setup to install – Important: Select the options to add Miniconda to the PATH variable and to register Miniconda as the default Python environment.
  • After installation, open the Anaconda prompt and enter the following commands to install packages:
pip install flask requests python-dotenv pylint matplotlib pillow
pip install --upgrade numpy

Azure CLI

Git

Visual Studio Code (and extensions)

  • Download from https://code.visualstudio.com/Download
  • Install using the default options
  • After installation, start Visual Studio Code and on the Extensions tab (CTRL+SHIFT+X), search for and install the following extensions from Microsoft:
    • Python
    • C#
    • Azure Functions
    • PowerShell

Bot Framework Emulator

Follow the instructions at https://github.com/Microsoft/BotFramework-Emulator/blob/master/README.md to download and install the latest stable version of the Bot Framework Emulator for your operating system.

Bot Framework Composer

Install from https://docs.microsoft.com/en-us/composer/install-composer.

Enable Resource Providers

There are some resource providers that must be registered in your Azure subscription. Follow these steps to ensure that they’re registered.

  • Sign into the Azure portal at https://portal.azure.com using the Microsoft credentials associated with your subscription.
  • On the Home page, select Subscriptions (or expand the menu, select All Services, and in the All category, select Subscriptions).
  • Select your Azure subscription (if you have multiple subscriptions, select the one you created by redeeming your Azure Pass).
  • In the blade for your subscription, in the pane on the left, in the Settings section, select Resource providers.
  • In the list of resource providers, ensure the following providers are registered (if not, select them and click register):
    • Microsoft.BotService
    • Microsoft.Web
    • Microsoft.ManagedIdentity
    • Microsoft.Search
    • Microsoft.Storage
    • Microsoft.CognitiveServices
    • Microsoft.AlertsManagement
    • microsoft.insights
    • Microsoft.KeyVault
    • Microsoft.ContainerInstance

Reminder: Don’t forget to delete or shutdown all unused Azure resources after your labs for cost saving

Leave a Reply

Your email address will not be published. Required fields are marked *