Dependency List
- Ubuntu 20.04
Table 1 Dependency information Type
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 7.3.0 or later. If the GCC version is earlier than 7.3.0, install it by referring to Installing GCC 7.3.0.
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
Name
Version
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 7.3.0 or later. If the GCC version is earlier than 7.3.0, install it by referring to Installing GCC 7.3.0.
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.