A step-by-step guide to setting up a development environment on Windows so you can start using ailia SDK.
Choose your OS: Windows · Mac · Linux
To use ailia SDK from Python, you need three things: Python, pip, and git. This guide explains what each of them does and walks you through installing them on Windows 10 / 11. Once everything is in place, you will be able to run the samples with pip3 install ailia.
ailia-models sample collection.Download the installer from the official Python website. ailia SDK supports Python 3.6 and later (the latest stable release is fine unless you have a specific reason otherwise).
python-3.x.x-amd64.exe)..exe to run it..exe whose name ends in -amd64.exe). This is the right choice for a typical Intel / AMD PC.python or pip "cannot be found". If you missed it, run the installer again and add PATH from "Modify", or uninstall and reinstall with the box checked.
Open "Command Prompt" from the Windows Start menu, type the following command, and press Enter.
python --version
If the version is displayed as below, the installation succeeded (the numbers vary by environment).
Python 3.13.1
python may open a Microsoft Store page. If that happens, reinstall from python.org using the steps above, or try py --version.
pip comes bundled with Python, so there is no need to install it separately once Python is installed. First, confirm that it is available.
pip3 --version
If a version is displayed, it is ready to use. An outdated pip can cause installation failures, so we recommend updating it to the latest version.
pip3 install --upgrade pip
pip3 command is "not found", run it as python -m pip instead (e.g. python -m pip --version). This reliably targets the same Python as your python command.
Install git to fetch the sample collection (ailia-models) from GitHub.
.exe.After installation, open a new Command Prompt window and run the following command.
git --version
If the version is displayed as below, it succeeded.
git version 2.47.1.windows.1
git. Close the window and open a new one to apply the changes.
The core of ailia SDK is a native library written in C/C++. To run it on Windows, you need the Microsoft Visual C++ Redistributable (VC++ Redistributable). If it is not installed, you may get a DLL loading error when you run import ailia.
vc_redist.x64.exe) from the following link:vc_redist.x64.exe and follow the on-screen instructions to install it.You can check the latest supported versions and installers for other architectures (x86 / Arm64) on Microsoft's official page.
Download the latest supported Visual C++ Redistributable (Microsoft Learn)
Once Python, pip, and git are in place, you can finally install ailia SDK. Run the following in the Command Prompt.
pip3 install ailia
Next, let's clone the sample collection and run it.
git clone https://github.com/ailia-ai/ailia-models.git
cd ailia-models
pip3 install -r requirements.txt
cd object_detection/yolox
python yolox.py -v 0
If object detection results are overlaid on your webcam feed, it worked. For more details on how to use it, see the ailia SDK getting started page.