Bug 7765 - python3-distribute is missing imports and can't be launched properly
Summary: python3-distribute is missing imports and can't be launched properly
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9 M1
Assignee: Alejandro Hernandez
QA Contact: Bogdan Alexandru Voiculescu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-05-14 17:48 UTC by Alejandro Hernandez
Modified: 2015-10-20 12:58 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Hernandez 2015-05-14 17:48:36 UTC
python3-distribute fails to import some libraries, hance is unusable, this may be solved simply by adding the required libraries as RDEPENDS_${PN}, still need to check what libraries are necessary.

# easy3_install 
Traceback (most recent call last):
  File "/usr/bin/easy3_install", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.4/site-packages/distribute-0.6.32-py3.4.egg/pkg_resources.py", line 16, in <module>
    import sys, os, zipimport, time, re, imp, types
ImportError: No module named 'imp'
Comment 1 Alejandro Hernandez 2015-05-14 17:53:35 UTC
This should be solved along with:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7763
Comment 2 Alejandro Hernandez 2015-06-09 20:05:46 UTC
Fixed with upgrade here:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=09fd6c89684714d74ddfb14dec2b45a75facb2ab
Comment 3 Bogdan Alexandru Voiculescu 2015-10-20 12:58:31 UTC
Verified on master: e35c404537db0b46047fcb2ee7d3645e3e0935c5
No errors using easy3_install; in this version is used python3-setuptools that replaced python3-distribute