2017-12-14 10:05 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0014199CentOS-7python-setuptoolspublic2017-11-28 08:07
Reporterkmy2012x 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusnewResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0014199: [abrt] python-setuptools: pkg_resources.py:2265:load:ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/site-pac...
DescriptionDescription of problem:
trying to install pip with this command "easy_install -U setuptools pip"...

PS: Environment - Python 2.7.5
[GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux2
3.10.0-693.5.2.el7.x86_64




Version-Release number of selected component:
python-setuptools-0.9.8-7.el7

Truncated backtrace:
pkg_resources.py:2265:load:ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/site-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute

Traceback (most recent call last):
  File "/usr/bin/easy_install", line 9, in <module>
    load_entry_point('setuptools==0.9.8', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1992, in main
    with_ei_usage(lambda:
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1979, in with_ei_usage
    return f()
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1996, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 380, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1115, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 69, in run_setup
    lambda: execfile(
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 120, in run
    return func()
  File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 71, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "setup.py", line 187, in <module>
  File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 302, in finalize_options
    ep.load()(self, ep.name, value)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2265, in load
    raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/site-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute

Local variables in innermost frame:
attr: 'check_specifier'
self: EntryPoint.parse('python_requires = setuptools.dist:check_specifier')
env: None
installer: None
entry: <module 'setuptools.dist' from '/usr/lib/python2.7/site-packages/setuptools/dist.pyc'>
require: True
Additional Informationreporter: libreport-2.1.11.1
cmdline: /usr/bin/python /usr/bin/easy_install -U setuptools pip
dso_list: python-libs-2.7.5-58.el7.x86_64
executable: /usr/bin/easy_install
kernel: 3.10.0-693.5.2.el7.x86_64
pkg_fingerprint: 24C6 A8A7 F4A8 0EB5
pkg_vendor: CentOS
reproducible: The problem is reproducible
runlevel: N 5
type: Python
uid: 0
TagsNo tags attached.
abrt_hashc6cbffba3945438c2e0735f278a7b46455aeeeae
URLhttps://retrace.fedoraproject.org/faf/reports/bthash/5d1ba29e7f323512023c1c47ca2ec8521372e391
Attached Files
  • ? file icon backtrace (3,340 bytes) 2017-11-28 08:07 -
    pkg_resources.py:2265:load:ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/site-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute
    
    Traceback (most recent call last):
      File "/usr/bin/easy_install", line 9, in <module>
        load_entry_point('setuptools==0.9.8', 'console_scripts', 'easy_install')()
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1992, in main
        with_ei_usage(lambda:
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1979, in with_ei_usage
        return f()
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1996, in <lambda>
        distclass=DistributionWithoutHelpCommands, **kw
      File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
        dist.run_commands()
      File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
        self.run_command(cmd)
      File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command
        cmd_obj.run()
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 380, in run
        self.easy_install(spec, not self.no_deps)
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 623, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 653, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 849, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1130, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1115, in run_setup
        run_setup(setup_script, args)
      File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 69, in run_setup
        lambda: execfile(
      File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 120, in run
        return func()
      File "/usr/lib/python2.7/site-packages/setuptools/sandbox.py", line 71, in <lambda>
        {'__file__':setup_script, '__name__':'__main__'}
      File "setup.py", line 187, in <module>
      File "/usr/lib64/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 269, in __init__
        _Distribution.__init__(self,attrs)
      File "/usr/lib64/python2.7/distutils/dist.py", line 287, in __init__
        self.finalize_options()
      File "/usr/lib/python2.7/site-packages/setuptools/dist.py", line 302, in finalize_options
        ep.load()(self, ep.name, value)
      File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2265, in load
        raise ImportError("%r has no %r attribute" % (entry,attr))
    ImportError: <module 'setuptools.dist' from '/usr/lib/python2.7/site-packages/setuptools/dist.pyc'> has no 'check_specifier' attribute
    
    Local variables in innermost frame:
    attr: 'check_specifier'
    self: EntryPoint.parse('python_requires = setuptools.dist:check_specifier')
    env: None
    installer: None
    entry: <module 'setuptools.dist' from '/usr/lib/python2.7/site-packages/setuptools/dist.pyc'>
    require: True
    
    ? file icon backtrace (3,340 bytes) 2017-11-28 08:07 +
  • ? file icon environ (3,225 bytes) 2017-11-28 08:07 -
    WINDOWID=94371846
    GNOME_DESKTOP_SESSION_ID=this-is-deprecated
    GJS_DEBUG_OUTPUT=stderr
    LESSOPEN=||/usr/bin/lesspipe.sh %s
    XDG_SESSION_TYPE=x11
    QT_IM_MODULE=xim
    LOGNAME=miha
    USER=miha
    HOME=/root
    XDG_VTNR=1
    PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/dev/tools/apache_maven/bin:/home/miha/bin:/opt/dev/tools/apache_maven/bin:/opt/dev/tools/apache_maven/bin
    DISPLAY=:0
    XDG_SESSION_DESKTOP=cinnamon
    LANG=en_US.UTF-8
    TERM=xterm-256color
    SHELL=/bin/zsh
    SSH_AGENT_PID=11004
    XAUTHORITY=/root/.xauth1Gg0D6
    SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/10845,unix/unix:/tmp/.ICE-unix/10845
    SHLVL=2
    QT_QPA_PLATFORMTHEME=qt5ct
    HISTSIZE=1000
    MAVEN_OPTS=-Xms256m -Xmx768m
    WINDOWPATH=1
    GTK_OVERLAY_SCROLLING=0
    IMSETTINGS_INTEGRATE_DESKTOP=yes
    JAVA_HOME=/usr/java/latest
    USERNAME=miha
    IMSETTINGS_MODULE=none
    XDG_RUNTIME_DIR=/run/user/1000
    SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
    CINNAMON_VERSION=3.6.6
    VTE_VERSION=4602
    PLAT=linux-x86_64
    GDMSESSION=cinnamon
    XMODIFIERS=@im=none
    XDG_CURRENT_DESKTOP=X-Cinnamon
    XDG_SESSION_ID=1
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FDKJvaWAvj,guid=7ef5c94f9e31952cba23fb3d5a1c1551
    _=/usr/bin/easy_install
    DESKTOP_SESSION=cinnamon
    OLDPWD=/home/miha
    HOSTNAME=localhost.localdomain
    GDM_LANG=en_US.UTF-8
    HISTCONTROL=ignoredups
    XDG_DATA_DIRS=/home/miha/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
    PWD=/home/miha
    COLORTERM=truecolor
    MAIL=/var/spool/mail/miha
    LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:
    GJS_DEBUG_TOPICS=JS ERROR;JS LOG
    XDG_SEAT=seat0
    
    ? file icon environ (3,225 bytes) 2017-11-28 08:07 +
  • ? file icon machineid (135 bytes) 2017-11-28 08:07 -
    systemd=353befb709434420ab62e755e3b34994
    sosreport_uploader-dmidecode=bdba3ae713116f1791d3e52b6ca1d51a9ea0018ce05f270ef07c9c840657c951
    
    ? file icon machineid (135 bytes) 2017-11-28 08:07 +

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2017-11-28 08:07 kmy2012x New Issue
2017-11-28 08:07 kmy2012x File Added: backtrace
2017-11-28 08:07 kmy2012x File Added: environ
2017-11-28 08:07 kmy2012x File Added: machineid
+Issue History