Installing Python development packages

The following DEB or WHL packages must be installed for Python development:

The packages are installed on Linux.

To install deb packages for Python development:

  1. To install the deb package with a Python framework for an AltAI SNN backend, run the following as root:

    dpkg -i <path-to-deb-package>/knp-python3-framework_<knp_version>_amd64.deb

    where:

    • <path-to-deb-package> is the path to the deb package.
    • <knp_version> is the Kaspersky Neuromorphic Platform version.
  2. To install the deb packages with ANN2SNN package and AltAI ANN2SNN backend binary code, run the following commands as root:

    dpkg -i <path-to-deb-package>/knp_ann2snn.deb

    When installing the knp_ann2snn.deb package, accept the AltAI-1 backends and ANN2SNN package Terms of Use. Your acceptance of the Terms of Use is a prerequisite for installing the package. The package installation process will be interrupted unless you accept the Terms of Use.

Use the pip3 package manager to install whl packages from the PyPI platform.

To install whl packages:

  1. To install a whl package containing a Python framework for an AltAI SNN backend, run the following command:

    pip3 install --break-system-packages knp-<knp_version>-py3-none-any.whl

    where <knp_version> is the Kaspersky Neuromorphic Platform version.

  2. To install a whl package containing an ANN2SNN package and AltAI ANN2SNN backend binaries, do one of the following:
    • To install a package on an x86-based computer, run:

      pip3 install --break-system-packages knp_ann2snn-<motiv_version>-py3-none-any.whl

    • If you need to install a package on an ARM-based computer, run:

      pip3 install --break-system-packages knp_ann2snn_aarch64-<motiv_version>-py3-none-any.whl

    where <motiv_version> is the version of the backends for the AltAI-1 neuromorphic processor and the ANN2SNN package.

See also

Scenario for building a platform project or an application solution

Supported backends

Page top