0

I downloaded open bmc code in Ubuntu 14.04.4 LTS. I am trying to build the open bmc and getting the below errors. Any suggestions

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'
Mine
  • 4,123
  • 1
  • 25
  • 46
Neena
  • 51
  • 4
  • Error Details " AttributeError: 'module' object has no attribute 'signature' ERROR: Error evaluating '${@oe_import(d)}' Traceback (most recent call last): – Neena Oct 10 '17 at 08:50
  • I could fix it by removing the Python3 from the system . – Neena Oct 13 '17 at 04:17

1 Answers1

0

There were two pyhton version installed. Python3 was not matching with the openBMC code base I used. I uninstall the python3. Then the error disappeared.

Neena
  • 51
  • 4