Installation

DNAstack products can be accessed programmatically through the Command Line Interface (CLI) for Windows, Mac, and Linux environments.

This guide will help you install dnastack-client-library 3.0. If you need to install a specific version, please check out the list of available versions on the release history page.

Installing Python

First, you need to have:

  • Python 3.9 or newer

  • Optional: pip 21.3 or newer. This is only required for ARM-based systems e.g., ARM-based MacOS machines..

MacOs

Newer versions of MaxOS are already bundled with Python3. To determine if you have the correct version of python installed open a terminal and type python --version. If it is already installed you will see the version printed to the console

$ python --version

Linux - Debian

If you are using a debian system (ie Ubuntu) the easiest way to install python is using the bundled apt package manager.

sudo apt update
sudo apt install -y python3 python3-pip

You can validate this has run properly in a terminal after:

python --version

Linux - CentOS, RHEL

If you are using a CentOs the easiest way to install python is using the bundled yum package manager.

sudo yum update
sudo yum install -y python3 python3-pip

You can validate this has run properly in a terminal after:

$ python --version

Windows 10/11

  1. Download the installer from anaconda.com.

  2. Run the installer to install Python 3

Installing the CLI/library package

Windows 10/11

Open the Anaconda Powershell Prompt from the start menu or Anaconda Navigator and type the following

pip3 install -U dnastack-client-library
dnastack --version

MacOS / Linux

Open a terminal window and type the following:

pip3 install -U dnastack-client-library
dnastack --version

Last updated

© DNAstack. All rights reserved.