python-psutil dependency error on ubuntu 16.04.4
Bug #1763966 reported by
ultranal
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Critical
|
hongbin |
Bug Description
during the installation process, pip would report dependency error when installing glance:
"Cannot uninstall ‘psutil’. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall."
The error is reported because the package "psutil" is not installed by pip but apt, and the default version of python-psutil in ubuntu repository is 3.4.2-1 while the minimalist version glance needed is 5.4.3. And the package "python-psutil" itself was installed at the previous period of installation.
The solution is also obvious: just delete python-psutil from depended apt package list and let pip install and manage it.
Changed in devstack: | |
assignee: | nobody → hongbin (hongbin034) |
status: | New → In Progress |
Changed in grenade: | |
status: | New → Invalid |
Changed in devstack: | |
importance: | Undecided → Critical |
no longer affects: | grenade |
To post a comment you must log in.
Corresponding issue for pip upstream: https:/ /github. com/pypa/ pip/issues/ 4805