`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.c...@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

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to