On 10/08/2016 09:35 AM, ??? wrote:
> Error contents is as follows.
> 
> Traceback (most recent call last):
>   File 
> "/opt/poky-edison/1.7.2/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py",
>  line 569, in <module>
>     main()
>   File 
> "/opt/poky-edison/1.7.2/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py",
>  line 551, in main
>     known_paths = addusersitepackages(known_paths)
>   File 
> "/opt/poky-edison/1.7.2/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py",
>  line 278, in addusersitepackages
>     user_site = getusersitepackages()
>   File 
> "/opt/poky-edison/1.7.2/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py",
>  line 253, in getusersitepackages
>     user_base = getuserbase() # this will also set USER_BASE
>   File 
> "/opt/poky-edison/1.7.2/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/site.py",
>  line 242, in getuserbase
>     from sysconfig import get_config_var
>   File 
> "/opt/poky-edison/1.7.2/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/sysconfig.py",
>  line 10, in <module>
>     'stdlib': '{base}/'+sys.lib+'/python{py_version_short}',
> AttributeError: 'module' object has no attribute 'lib'
> 
> I showed up this command, "scons ./examples/OIC Sensor Board" in iotivity 
> error.
> For help, desperately.

somebody's made a mess of something there... that line is not from iotivity, 
it's from a distribution of Python. Normally it looks something like this:

        'stdlib': '{base}/lib/python{py_version_short}',

looks like somebody has maybe tried to modify something for a cross-build 
environment, but the "sys" module in python indeed does not have a "lib" 
attribute, so unless this environment is expected to pick up an overridden 
"sys", this isn't going to work.



Reply via email to