专栏底层软件J6E0930BSP编译报错

J6E0930BSP编译报错

已解决
默认708482024-11-20
73
14

1. 硬件获取渠道及型号: J6E 供应商购买

2. 系统镜像版本: 0930

3. 问题模块: BSP编译

4,问题描述:

用0930的基线代码和docker镜像,编译时报错:

docker镜像:

编译操作:

1,source envsetup.sh lunch : 选1

2,bddisk

编译报错如下:

Python3 virtual environment is NOT properly set up!

然后执行bash install_host_deps.sh脚本

最后报错:

ERROR: cannot install -r build_tools/hobot_tools/requirements.txt (line 12) and cryptography==40.0.2 beecause these package versions have conflicting dependencies.

The conflict is caused by:

       The user requested cryptography==40.0.2

       pyopenssl 24.2.1 depends on cryptography= 41.0.5

编译主机用的:win10下的WSL2安装的ubuntu 22.04

 

 

 

 

 

底层软件
征程6
评论3
0/1000
  • 默认70848
    Lv.1

    补充一下:0630的基线可以编译,0930的报以上错误

    2024-11-20
    0
    6
    • 费小财回复默认70848:

      你试试: 把requirements.txt里面的cryptography那行删除就好了

      2024-11-20
      0
    • 默认70848回复费小财:
      删掉也不行,改成 cryptography==41.0.5也不行,leimu_org.svg
      2024-11-20
      0
    • 费小财回复默认70848:

      删了也还是这个错误吗

      2024-11-20
      0
    • 费小财回复默认70848:

      你改后,把out 删了,重新开个窗口再来试试应该就好了

      2024-11-21
      0
    • 默认70848回复费小财:

      每次修改完都是删除out后再编译的,不知道问题出在哪里

      2024-11-21
      0
    • 费小财回复默认70848:

      你的docker没升级,发布的版本里面有docker的,你把docker也升级下

      2024-11-21
      0
  • 费小财
    Lv.5

    好像需要重新适配下python的环境的

    2024-11-20
    0
    2
    • 默认70848回复费小财:

      编译需要的环境是不是都在docker镜像里面配置好了啊,我同事也是用这个镜像可以编译成功

      2024-11-20
      0
    • 默认70848回复默认70848:
      怎么重新适配python的环境啊?zuoyi_org.svg
      2024-11-21
      0
  • zhangyan04
    Lv.1

    重新安装下cryptography,现在host端版本低了,依赖更高版本了

    2024-11-20
    0
    3
    • 默认70848回复zhangyan04:

      怎么重装cryptography啊,按道理这个是不是应该用docker镜像里面的环境,不用host的?

      2024-11-20
      0
    • zhangyan04回复默认70848:

      直接更新host端的版本就行,进docker环境里能用上

      2024-11-20
      0
    • 默认70848回复zhangyan04:

      我在host安装install_host_deps.sh安装完成了,执行bddisk还是提示Python3 virtual environment is NOT proerly set up!

      2024-11-21
      0