This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM6412:Opte-OS 编译问题

Guru**** 1826200 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1213762/am6412-optee-os-compilation-issue

器件型号:AM6412

大家好!

我在编译 optee_OS 包时遇到了这个问题、

Gen out/ARM-PLAT-K3/core/TA_pub_key.c
回溯(最近的调用最后):
文件"scripts/pem_to_pub_c.py"、第71行、中
主要()
文件"scripts/pem_to_pub_c.py"、第24行、在 main 中
从 cryptography.hazmat.backend 导入 default_backend
ModuleNotFoundError:没有名为"加密"的模块
mk/subdir.mk:183:目标"out/arm-plat-k3/core/ta_pub_key.c"的配方失败
制造:***[OUT/ARM-PLAT-K3/core/TA_PUB_key.c]错误1.

我已经遵循了这些步骤  

https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/08_04_01_04/exports/docs/linux/Foundational_Components_OPTEE.html

我也被称为该主题  

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1097588/am6442-errors-while-building-optee

但这对我不起作用,有人能建议一些步骤来克服这个问题吗?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Uthaya、您好!

    [quote userid="547892" url="~/support/processors-group/processors/f/processors-forum/1213762/am6412-optee-os-compilation-issue 模块 NotFoundError:没有名为"加密"[/报价]的模块

    该错误表明系统中未安装 python 加密模块。

    请在下一页之后安装此 python 模块

    https://pypi.org/project/cryptography/

    安装后、应该可以成功进行构建。

    此致、

    Prashant