Can not install psutil===5.4.5 when setuptools==39.2.0

Bug #1776174 reported by Lv Jiawei
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Global Requirements
Invalid
Undecided
Unassigned

Bug Description

When setuptools==39.2.0, It can not install psutil===5.4.5 by pip install. It will raise an import error as below:
Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-87PyS7/psutil/setup.py", line 351, in <module>
        main()
      File "/tmp/pip-build-87PyS7/psutil/setup.py", line 347, in main
        setup(**kwargs)
      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/__init__.py", line 2318, in load
        return self.resolve()
      File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2328, in resolve
        raise ImportError(str(exc))
    ImportError: 'module' object has no attribute 'check_specifier'

I downgrade setuptools less than 39.2.0. The psutil can be installed.

Lv Jiawei (zhangoic)
Changed in openstack-requirements:
assignee: nobody → Lv Jiawei (zhangoic)
description: updated
Revision history for this message
Matthew Thode (prometheanfire) wrote :

I don't think we were able to reproduce this. Should we close this?

Revision history for this message
Lv Jiawei (zhangoic) wrote :

Please close.

Tony Breeds (o-tony)
Changed in openstack-requirements:
assignee: Lv Jiawei (zhangoic) → nobody
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.