Anaconda on the AIR-T

Anaconda is a great virtual environment for developing Python applications and it is fully supported by the AIR-T and AirStack. This tutorial will show you how to create an AirStack conda environment on the AIR-T. Note that GNU Radio is not yet available in this environment, but the SoapySDR radio drivers and GPU acceleration for signal processing and deep learning are.

Anaconda does not come pre-installed with AirStack. Instructions are included at the end of this tutorial if you do not already have Anaconda installed on your system.

Create AirStack Conda Environment

We will now create a conda environment called airstack using the airstack.yml file provided by Deepwave. You may modify this to fit your application.

$ wget
$ conda env create -f airstack.yml

Install AirStack Drivers in Conda Environment

This section walks you though adding symbolic links to the AIR-T radio drivers from within a new conda environment. The radio will not work inside the environment without these symbolic links unless these steps are followed, so you must do this for each new conda environment that you create.

$ conda activate <env_name>
$ wget
$ chmod +x
$ ./

The shell script will create the necessary symbolic links in the new environment.

Testing a New Conda Environment

Copy the script to your AIR-T to test full operation.

$ conda activate airstack
$ wget
$ python

Installing Anaconda on AIR-T

We recommend the conda4aarch64 with instructions provided here. The instructions are reproduced below with some slight modifications.

1. If not already done, power on the AIR-T

2. Install Anaconda:

$ wget
$ chmod +x
$ ./

When prompted with the following question answer yes

Do you wish the installer to initialize c4aarch64_installer in your
/home/<username>/.bashrc? [yes|no]

3. Add the c4aarch64 and conda-forge channels to your conda configuration:

$ conda config --add channels c4aarch64
$ conda config --add channels conda-forge

4. (Optional) Install Numba from the numba channel:

$ conda install -c numba numba

5. (Optional) At this point, the conda base environment will be activated whenever a terminal is opened. We recommend removing this behavior by executing the following:

$ conda config --set auto_activate_base false

Last update: March 23, 2020