0

我在 Ubuntu 14.04.4 LTS 中下载了打开的 bmc 代码。我正在尝试构建开放的 bmc 并收到以下错误。有什么建议么

Starting build
++ bitbake obmc-phosphor-image
Traceback (most recent call last):
  ...
        ++ bitbake obmc-phosphor-image
                Traceback (most recent call last):
                 ...
                AttributeError: 'module' object has no attribute 'signature'
                ERROR: Error evaluating '${@oe_import(d)}'
                Traceback (most recent call last):
                File "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 117, in expandWithRefs
                        s = __expand_python_regexp__.sub(varparse.python_sub, s)
                File "/usr/lib/pymodules/python2.7/bb/data_smart.py", line 76, in python_sub
                value = utils.better_eval(codeobj, DataContext(self.d))
                File "/usr/lib/pymodules/python2.7/bb/utils.py", line 387, in better_eval
                        return eval(source, _context, locals)
                File "<expansion>", line 1, in <module>
                File "base.bbclass", line 14, in oe_import
                AttributeError: 'module' object has no attribute 'signature'
4

1 回答 1

0

安装了两个 pyhton 版本。Python3 与我使用的 openBMC 代码库不匹配。我卸载了python3。然后错误消失了。

于 2017-10-13T04:18:42.427 回答