Re: Python modules missing #yocto #python

Tim Orling

On Fri, Apr 3, 2020 at 8:29 PM <zidouhzakaria@...> wrote:

I am trying to install numpy module in my image using "pipoe". When i bitbake my recipe i got this :

Numpy is already part of oe-core:
Why not just use the existing recipe?

Log data follows:
| DEBUG: Executing shell function do_compile
| ERROR: python3 build_ext execution failed.
| numpy/random/ has not changed
| Processing numpy/random/_mt19937.pyx
| Traceback (most recent call last):
|   File "path/to/build/work/aarch64-poky-linux/python3-numpy/1.18.2-r0/numpy-1.18.2/tools/", line 61, in process_pyx
|     from Cython.Compiler.Version import version as cython_version
| ImportError: No module named 'Cython'

I installed Cython also with pipoe and added : RDEPENDS_${PN} = "${PYTHON_PN}-cython" to numpy recipe but nothing changed. Any idea ?

Thank you

Join to automatically receive all group messages.