Runtime Dependencies
Installing and running the CANN software requires related dependencies, as listed in Table 1.
Name |
Required Version |
|---|---|
Python |
Python 3.7.x to 3.11.x If you need to install the Python library of the NNAL software package, install Python 3.10. x or 3.11. x. If TensorFlow needs to be installed, install the required Python version.
If the installation fails, the version does not meet the requirements, or the dynamic library libpython3.x.so is not included, perform the operations in Compiling and Installing Python. |
python3-pip |
Works with the installed Python version. |
gcc |
7.3.0 or later. Use the version provided by the system source. |
g++ |
Works with the installed GCC version. |
numpy |
>=1.19.2 Works the installed Python version. |
decorator |
>=4.4.0 |
sympy |
>=1.5.1 |
cffi |
>=1.12.3 |
protobuf |
3.20.x |
attrs cython pyyaml pathlib2 scipy requests psutil absl-py |
Subject to the pip source. |