Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#32463 - [python2-distribute] Importing setuptools in python2 raises ImportError
Attached to Project:
Arch Linux
Opened by kozec (kozec) - Sunday, 04 November 2012, 19:10 GMT
Last edited by Allan McRae (Allan) - Friday, 16 November 2012, 12:00 GMT
Opened by kozec (kozec) - Sunday, 04 November 2012, 19:10 GMT
Last edited by Allan McRae (Allan) - Friday, 16 November 2012, 12:00 GMT
|
DetailsDescription:
Importing setuptools in python2 raises ImportError from related missing module. This is pretty problematic since it breaks builds of other python2 packages. Additional info: python2 2.7.3-2 python2-distribute 0.6.29-1 x86_64 architecture Steps to reproduce: run python2 interpreter, enter 'import setuptools' Error log: >>> import setuptools Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/setuptools/__init__.py", line 2, in <module> from setuptools.extension import Extension, Library File "/usr/lib/python2.7/site-packages/setuptools/extension.py", line 5, in <module> from setuptools.dist import _get_unpatched File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 6, in <module> from setuptools.command.install import install File "/usr/lib/python2.7/site-packages/setuptools/command/__init__.py", line 8, in <module> from setuptools.command import install_scripts File "/usr/lib/python2.7/site-packages/setuptools/command/install_scripts.py", line 3, in <module> from pkg_resources import Distribution, PathMetadata, ensure_directory ImportError: cannot import name Distribution |
This task depends upon
$ python2
Python 2.7.3 (default, Apr 24 2012, 00:00:54)
[GCC 4.7.0 20120414 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import setuptools
>>>
Missing any files for the package?