Subject: pypi setuptools based recipe fails ModuleNotFoundError: No module named 'pkg_resources' #python To: yocto@lists.yoctoproject.org From: ddbabich@bootseeds.com X-Originating-Location: Boardman, Oregon, US (52.61.197.79) X-Originating-Platform: Linux Chrome 88 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 29 Jan 2021 12:41:00 -0800 Message-ID: <2ct9.1611952860604820411.DUaL@lists.yoctoproject.org> X-Groupsio-MsgNum: 52157 Content-Type: multipart/mixed; boundary="8ulHq0klN0yuh1jbcA9z" --8ulHq0klN0yuh1jbcA9z Content-Type: multipart/alternative; boundary="aZTJfCKBDksAHlAZ9Jj5" --aZTJfCKBDksAHlAZ9Jj5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I'm attempting to make a simple bitbake recipe for python3-astropy that inh= erits from pypi and setuptools3.=C2=A0 The very simple recipe is attached. When I build I'm getting this error: >=20 >=20 >=20 > |=C2=A0 =C2=A0 =C2=A0import pkg_resources >=20 >=20 >=20 > | ModuleNotFoundError: No module named 'pkg_resources' >=20 >=20 >=20 > | WARNING: exit code 1 from a shell command. >=20 >=20 I don't understand this error because I'm using setuptools3 which I believ= e contains pkg_resources.=C2=A0 In desperation I added a "DEPENDS =3D "pyth= on3-setuptools" but that did not help either.=C2=A0 I'd appreciate any advi= ce on this. Thanks --aZTJfCKBDksAHlAZ9Jj5 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
I'm attempting to make a simple bitbake recipe for python3-astropy that =
inherits from pypi and setuptools3. The very simple recipe is attache=
d.
When I build I'm getting this error:
I don't understand this error because I'm using setuptools3 which I believ= e contains pkg_resources. In desperation I added a "DEPENDS =3D "pyth= on3-setuptools" but that did not help either. I'd appreciate any advi= ce on this.| import pkg_resources
| ModuleNotFoundError: No module named 'pkg_resources'
| WARNING: exit code 1 from a shell command.