File "/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/smp/a55_optee/scripts/sign_encrypt.py", line 827, in load_ta_image ta_image = BinaryImage(args.inf, args.key) File "/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/smp/a55_optee/scripts/sign_encrypt.py", line 343, in __init__ from cryptography.hazmat.primitives import hashes ModuleNotFoundError: No module named 'cryptography' make[3]: *** [/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/smp/a55_optee/mk/link.mk:121: 8aabf300-2450-11e4-abe2-9f02a5d5bc2f.ta] Error 1 make[3]: Leaving directory '/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/smp/a55_linux/source/mpp/sample/optee/security_subsys/ta' make[2]: *** [Makefile:24: ta] Error 2 make[2]: Leaving directory '/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/smp/a55_linux/source/mpp/sample/optee/security_subsys' make[1]: *** [Makefile:11: security_subsys] Error 2 make[1]: Leaving directory '/home/lkuser/SDK/Hi3519DV500_SDK_V2.0.0.2/smp/a55_linux/source/mpp/sample/optee' make: *** [Makefile:27: optee] Error 2
时间: 2023-07-31 14:11:46 浏览: 203
安装SDK时发生的问题
这是一个编译错误,提示找不到名为 "cryptography" 的模块。你需要安装 "cryptography" 模块,可以使用 pip 工具来安装,运行以下命令:
```
pip install cryptography
```
如果你没有安装 pip 工具,需要先安装 pip 工具。具体方法可以参考 pip 官方文档。
阅读全文