[OE-core] [PATCH] python-numpy: rdepend on multiprocessing module

Chen Qi Qi.Chen at windriver.com
Tue Sep 3 04:13:00 UTC 2019


`import numpy.distutils' gives people the following error.

  ModuleNotFoundError: No module named 'multiprocessing'

Fix it by adding multiprocessing dependency.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 meta/recipes-devtools/python-numpy/python-numpy.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/python-numpy/python-numpy.inc b/meta/recipes-devtools/python-numpy/python-numpy.inc
index 1c6047ab07..a12e72f964 100644
--- a/meta/recipes-devtools/python-numpy/python-numpy.inc
+++ b/meta/recipes-devtools/python-numpy/python-numpy.inc
@@ -113,6 +113,7 @@ RDEPENDS_${PN} = "${PYTHON_PN}-unittest \
                   ${PYTHON_PN}-compression \
                   ${PYTHON_PN}-ctypes \
                   ${PYTHON_PN}-threading \
+                  ${PYTHON_PN}-multiprocessing \
 "
 
 RDEPENDS_${PN}_class-native = ""
-- 
2.17.1



More information about the Openembedded-core mailing list