Re: [yocto] No module named setuptools -- even with "inherit setuptools"?

2018-03-23 Thread Giordon Stark
Hi Ross, I am confused, as it seems to have been running /usr/bin/python at some point along the line... which is strange. I decided to take these two lines DEPENDS = "python python-six" RDEPENDS_${PN} += "python-lang python-shell python-six python-debugger" and rewrite them into

Re: [yocto] No module named setuptools -- even with "inherit setuptools"?

2018-03-23 Thread Burton, Ross
Should work, as the setuptools class depends on python-distribute-native which is provided by python-setuptools-native, and the class also inherits pythonnative so it should be running the python from the sysroot and not the host python. I'd verify that it's not explicitly running /usr/bin/python

[yocto] No module named setuptools -- even with "inherit setuptools"?

2018-03-23 Thread Giordon Stark
Hi, I'm a bit perplexed. I don't know what I'm doing wrong here, but this is the log data: Log data follows: | DEBUG: Executing shell function do_compile | Traceback (most recent call last): | File "setup.py", line 2, in | from setuptools import setup | ImportError: No module named