All of lore.kernel.org
 help / color / mirror / Atom feed
* Python modules missing #yocto #python
@ 2020-04-04  3:29 zidouhzakaria
  2020-04-04  3:45 ` [yocto] " Tim Orling
  0 siblings, 1 reply; 2+ messages in thread
From: zidouhzakaria @ 2020-04-04  3:29 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

Hello,

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

Log data follows:
| DEBUG: Executing shell function do_compile
| ERROR: python3 setup.py build_ext execution failed.
| numpy/random/_bounded_integers.pxd.in 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/cythonize.py", 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

[-- Attachment #2: Type: text/html, Size: 856 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [yocto] Python modules missing #yocto #python
  2020-04-04  3:29 Python modules missing #yocto #python zidouhzakaria
@ 2020-04-04  3:45 ` Tim Orling
  0 siblings, 0 replies; 2+ messages in thread
From: Tim Orling @ 2020-04-04  3:45 UTC (permalink / raw)
  To: zidouhzakaria; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

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

> Hello,
>
> 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:
http://layers.openembedded.org/layerindex/recipe/51338/

Why not just use the existing recipe?


> Log data follows:
> | DEBUG: Executing shell function do_compile
> | ERROR: python3 setup.py build_ext execution failed.
> | numpy/random/_bounded_integers.pxd.in 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/cythonize.py",
> 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 
>

[-- Attachment #2: Type: text/html, Size: 1684 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-04  3:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-04  3:29 Python modules missing #yocto #python zidouhzakaria
2020-04-04  3:45 ` [yocto] " Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.