Dependency List

  • Ubuntu 20.04
    Table 1 Dependency information

    Type

    Default Name

    Version Requirement

    Related software or tools

    Python

    CANN supports Python 3.7.x (3.7.0–3.7.11), Python 3.8.x (3.8.0–3.8.11), and Python 3.9.x (3.9.0–3.9.7).

    CMake

    3.5.1 or later

    Make

    -

    GCC

    The GCC version must be 4.8.5 or later.

    g++

    OS dependencies

    zlib1g

    zlib1g-dev

    libsqlite3-dev

    OpenSSL

    libssl-dev

    libffi-dev

    unzip

    pciutils

    net-tools

    libblas-dev

    gfortran

    libblas3

    liblapack-dev

    liblapack3

    libopenblas-dev

    There is no version requirement. The version to be installed is subject to the source provided by the OS.

    Python dependencies

    NumPy

    1.14.3 or later

    decorator

    4.4.0 or later

    sympy

    1.4 or later

    cffi

    1.12.3 or later

    protobuf

    3.11.3 or later

    attrs

    pyyaml

    pathlib2

    scipy

    requests

    psutil

    absl-py

    There is no version requirement. The version is subject to the pip source.

  • CentOS 7.6
    Table 2 Dependency information

    Type

    Default Name

    Version Requirement

    Related software or tools

    Python

    CANN supports Python 3.7.x (3.7.0–3.7.11), Python 3.8.x (3.8.0–3.8.11), and Python 3.9.x (3.9.0–3.9.7).

    CMake

    3.5.1 or later

    Make

    -

    GCC

    GCC 4.8.5 or later

    g++

    OS dependencies

    unzip

    zlib-devel

    libffi-devel

    openssl-devel

    pciutils

    net-tools

    sqlite-devel

    lapack-devel

    openblas-devel

    gcc-gfortran

    There is no version requirement. The version to be installed is subject to the source provided by the OS.

    Python dependencies

    NumPy

    1.14.3 or later

    decorator

    4.4.0 or later

    sympy

    1.4 or later

    cffi

    1.12.3 or later

    protobuf

    3.11.3 or later

    attrs

    pyyaml

    pathlib2

    scipy

    requests

    psutil

    absl-py

    There is no version requirement. The version is subject to the pip source.

  • SLES 12 SP5
    Table 3 Dependency information

    Type

    Default Name

    Version Requirement

    Related software or tools

    Python

    CANN supports Python 3.7.x (3.7.0–3.7.11), Python 3.8.x (3.8.0–3.8.11), and Python 3.9.x (3.9.0–3.9.7). Note that the currently adapted TensorFlow does not support Python 3.9.x.

    CMake

    3.5.1 or later

    Make

    -

    GCC

    GCC 4.8.5 or later

    gcc-c++

    OS dependencies

    unzip

    zlib-devel

    libffi-devel

    openssl-devel

    pciutils

    net-tools

    gdbm-devel

    There is no version requirement. The version to be installed is subject to the source provided by the OS.

    Python dependencies

    NumPy

    1.14.3 or later

    decorator

    4.4.0 or later

    sympy

    1.4 or later

    cffi

    1.12.3 or later

    protobuf

    >=3.11.3

    attrs

    pyyaml

    pathlib2

    scipy

    requests

    psutil

    gnureadline

    absl-py

    There is no version requirement. The version is subject to the pip source.