Fix the following runtime issue of pip:
    # pip
    Traceback (most recent call last):
      File "/usr/bin/pip", line 5, in <module>
        from pkg_resources import load_entry_point
    ImportError: No module named pkg_resources

Signed-off-by: Zhenhua Luo <[email protected]>
---
 meta-python/recipes-devtools/python/python-pip_1.3.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-pip_1.3.1.bb 
b/meta-python/recipes-devtools/python/python-pip_1.3.1.bb
index d1a7c8b..1388a3d 100644
--- a/meta-python/recipes-devtools/python/python-pip_1.3.1.bb
+++ b/meta-python/recipes-devtools/python/python-pip_1.3.1.bb
@@ -11,4 +11,4 @@ S = "${WORKDIR}/pip-${PV}"
 inherit setuptools
 
 # Since PIP is like CPAN for PERL we need to drag in all python modules to 
ensure everything works
-RDEPENDS_${PN} = "python-modules"
+RDEPENDS_${PN} = "python-modules python-distribute"
-- 
2.1.0

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to